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