Optional
options: Partial<RunnableConfig> | Partial<RunnableConfig>[]Optional
batchOptions: RunnableBatchOptions & { Optional
options: Partial<RunnableConfig> | Partial<RunnableConfig>[]Optional
batchOptions: RunnableBatchOptions & { Optional
options: Partial<RunnableConfig> | Partial<RunnableConfig>[]Optional
batchOptions: RunnableBatchOptionsThe input argument for the tool.
Optional
configArg: CallbackManager | (BaseCallbackHandlerMethodsClass | BaseCallbackHandler)[] | RunnableConfigOptional configuration or callbacks for the tool.
Optional
tags: string[]Optional tags for the tool.
A Promise that resolves with a string.
Use .invoke() instead. Will be removed in 0.3.0.
This feature is deprecated and will be removed in the future.
It is not recommended for use.
Calls the tool with the provided argument, configuration, and tags. It parses the input according to the schema, handles any errors, and manages callbacks.
Optional
options: Partial<RunnableConfig>Optional
options: Partial<RunnableConfig>Generated using TypeDoc
Base interface implemented by all runnables. Used for cross-compatibility between different versions of LangChain core.
Should not change on patch releases.