Bind tool-like objects to this chat model.
bindTools(
tools: ToolSpec | StructuredTool<ToolSchemaBase, any, any, any, unknown>[]
): Runnable<BaseLanguageModelInput, AIMessageChunk<MessageStructure<MessageToolSet>>, FakeListChatModelCallOptions>| Name | Type | Description |
|---|---|---|
tools* | ToolSpec | StructuredTool<ToolSchemaBase, any, any, any, unknown>[] | A list of tool definitions to bind to this chat model. Can be a structured tool, an OpenAI formatted tool, or an object matching the provider's specific tool schema. |