LangChain Tools
tool<
SchemaT extends ZodString,
ToolOutputT = any,
FuncT extends RunnableFunc<InferInteropZodOutput<SchemaT>, ToolOutputT, ToolRunnableConfig>| Name | Type | Description |
|---|---|---|
func* | FuncT | |
fields* | ToolWrapperParams<SchemaT> |
The function to invoke when the tool is called.
An object containing the following properties: