OptionalcallbacksOptionaldefaultDefault config object for the tool runnable.
OptionalextrasOptional provider-specific extra fields for the tool.
This is used to pass provider-specific configuration that doesn't fit into standard tool fields.
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 DynamicTool class.