The type of the tool input schema. Usually you don't need to specify this.
The TypeScript type representing the result of applying the schema to the tool arguments. Useful for type checking tool handler functions when using JSONSchema.
Optional
callbacksTool handler function - the function that will be called when the tool is invoked.
The input to the tool.
Optional
runManager: CallbackManagerForToolRunThe run manager for the tool.
Optional
config: RunnableConfig<Record<string, any>>The configuration for the tool.
The result of the tool.
Optional
metadataOptional
responseThe tool response format.
If "content" then the output of the tool is interpreted as the contents of a ToolMessage. If "content_and_artifact" then the output is expected to be a two-tuple corresponding to the (content, artifact) of a ToolMessage.
Optional
returnWhether to return the tool's output directly.
Setting this to true means that after the tool is called, an agent should stop looping.
Optional
tagsOptional
verboseOptional
verboseWhether to show full details in the thrown parsing errors.
Interface for the input parameters of the DynamicStructuredTool class.