call<
TArg extends string | ToolCall<string, Record<string, any>> | __type | undefined| Name | Type | Description |
|---|---|---|
arg* | TArg | |
callbacks | TConfig |
The input argument for the tool, which can be a string, undefined, or an input of the tool's schema.
Optional callbacks for the tool.