Interface for the input parameters of the DynamicTool class.
interface DynamicToolInputCallbacks for this call and any sub-calls (eg. a Chain calling an LLM). Tags are passed to all callbacks, metadata is passed to handle*Start callbacks.
Default config object for the tool runnable.
A description of what the function does, used by the model to choose when and how to call the function.
The 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.
Whether to return the tool's output directly.
Setting this to true means that after the tool is called, an agent should stop looping.
Callbacks for this call and any sub-calls (eg. a Chain calling an LLM).
Default config object for the tool runnable.
A description of what the function does, used by the model to choose when and
Optional provider-specific extra fields for the tool.
The tool response format.
Whether to return the tool's output directly.
Callbacks for this call and any sub-calls (eg. a Chain calling an LLM).
Default config object for the tool runnable.
Optional provider-specific extra fields for the tool.
The tool response format.