Invokes the tool with the provided input and configuration.
invoke<
TInput,
TConfig extends ToolRunnableConfig | undefined
>(input: TInput, config: TConfig): Promise<ToolReturnType<TInput, TConfig, ToolOutputT>>| Name | Type | Description |
|---|---|---|
input* | TInput | The input for the tool. |
config | TConfig | Optional configuration for the tool. |