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.
OptionalcallbacksOptionaldefaultDefault config object for the tool runnable.
Tool handler function - the function that will be called when the tool is invoked.
The input to the tool.
OptionalrunManager: CallbackManagerForToolRunThe run manager for the tool.
Optionalconfig: RunnableConfig<Record<string, any>>The configuration for the tool.
The result of the tool.
OptionalmetadataMetadata for the tool.
OptionalresponseThe 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.
OptionalreturnWhether to return the tool's output directly.
Setting this to true means that after the tool is called, an agent should stop looping.
OptionaltagsOptionalverboseOptionalverboseWhether to show full details in the thrown parsing errors.
Interface for the input parameters of the DynamicStructuredTool class.