| Name | Type | Description |
|---|---|---|
tools* | Sequence[Dict[str, Any] | type | Callable | BaseTool] | A list of tool definitions to bind to this chat model.
Supports any tool definition handled by
:meth: |
tool_choice | str | None | Default: None |
kwargs | Any | Default: {} |
Bind tool-like objects to this chat model.
Which tool to require the model to call. Must be the name of the single provided function or "auto" to automatically determine which function to call (if any), or a dict of the form: {"type": "function", "function": {"name": <<tool_name>>}}.
Any additional parameters are passed directly to
self.bind(**kwargs). Pass headers here to merge
with tool-defined headers (caller values take precedence).