bindTools(
tools: ChatOpenAIToolType[],
kwargs: Partial<CallOptions>
): Runnable<BaseLanguageModelInput,| Name | Type | Description |
|---|---|---|
tools* | ChatOpenAIToolType[] | |
kwargs | Partial<CallOptions> |
Bind tool-like objects to this chat model.
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.
Any additional parameters to bind.