invoke<
TArg,
TConfig extends ToolRunnableConfig<Record<string, any>, any> | undefined
>| Name | Type | Description |
|---|---|---|
arg* | TArg | |
configArg | TConfig |
Invokes the tool with the provided argument and configuration.
The input argument for the tool.
Optional configuration for the tool call.