Interface ActionMetadata<I, O, S>

Action metadata.

interface ActionMetadata<
    I extends ZodTypeAny,
    O extends ZodTypeAny,
    S extends ZodTypeAny,
> {
    actionType?: ActionType;
    description?: string;
    inputJsonSchema?: JSONSchema7;
    inputSchema?: I;
    metadata?: Record<string, any>;
    name: string;
    outputJsonSchema?: JSONSchema7;
    outputSchema?: O;
    streamSchema?: S;
}

Type Parameters

Properties

actionType?: ActionType
description?: string
inputJsonSchema?: JSONSchema7
inputSchema?: I
metadata?: Record<string, any>
name: string
outputJsonSchema?: JSONSchema7
outputSchema?: O
streamSchema?: S