View Source ExOpenAI.Components.ToolChoiceMCP (ex_openai.ex v2.0.0-beta2)
Use this option to force the model to call a specific tool on a remote MCP server.
Fields
:name- optional -String.t() | any():server_label- required -String.t()
The label of the MCP server to use.:type- required -:mcp
For MCP tools, the type is alwaysmcp.
Allowed values:"mcp"