A description of the tool.
The name of the tool.
Whether to return the tool's output directly.
Setting this to true means that after the tool is called, an agent should stop looping.
A Zod schema representing the parameters of the tool.
Optional
options: Partial<RunnableConfig<Record<string, any>>> | Partial<RunnableConfig<Record<string, any>>>[]Optional
batchOptions: RunnableBatchOptions & { Optional
options: Partial<RunnableConfig<Record<string, any>>> | Partial<RunnableConfig<Record<string, any>>>[]Optional
batchOptions: RunnableBatchOptions & { Optional
options: Partial<RunnableConfig<Record<string, any>>> | Partial<RunnableConfig<Record<string, any>>>[]Optional
batchOptions: RunnableBatchOptionsThe input argument for the tool.
Optional
configArg: Callbacks | RunnableConfig<Record<string, any>>Optional configuration or callbacks for the tool.
Optional
tags: string[]Optional tags for the tool.
A Promise that resolves with a string.
Optional
options: Partial<RunnableConfig<Record<string, any>>>Optional
options: Partial<RunnableConfig<Record<string, any>>>
Base interface implemented by all runnables. Used for cross-compatibility between different versions of LangChain core.
Should not change on patch releases.