Parameters for the Tool classes.

interface BaseDynamicToolInput {
    description: string;
    name: string;
    callbacks?: Callbacks;
    metadata?: Record<string, unknown>;
    responseFormat?: ResponseFormat;
    returnDirect?: boolean;
    tags?: string[];
    verbose?: boolean;
}

Hierarchy (view full)

Properties

description: string
name: string
callbacks?: Callbacks
metadata?: Record<string, unknown>
responseFormat?: ResponseFormat

The tool response format.

If "content" then the output of the tool is interpreted as the contents of a ToolMessage. If "contentAndRawOutput" then the output is expected to be a two-tuple corresponding to the (content, raw_output) of a ToolMessage.

"content"
returnDirect?: boolean
tags?: string[]
verbose?: boolean