Invokes the tool with the provided input and configuration.
invoke<
TInput extends StructuredToolCallInput<ZodObject<__type, "strip", ZodTypeAny, __type, __type>, __type>,
TConfig extends ToolRunnableConfig | undefined
>(input: TInput, config: TConfig): Promise<any>| Name | Type | Description |
|---|---|---|
input* | TInput | The input for the tool. |
config | TConfig | Optional configuration for the tool. |