Execute a tool invocation
_execute(
toolInvocation: ToolInvocationInterface,
config: RunnableConfig<Record<string, any>>
): Promise<any>| Name | Type | Description |
|---|---|---|
toolInvocation* | ToolInvocationInterface | The tool to invoke and the input to pass to it. |
config | RunnableConfig<Record<string, any>> | Optional configuration to pass to the tool when invoked. |