Share via


ToolChoiceMCP interface

Use this option to force the model to call a specific tool on a remote MCP server.

Extends

Properties

name

The name of the MCP server to use.

server_label

The label of the MCP server to use.

type

For MCP tools, the type is always mcp.

Property Details

name

The name of the MCP server to use.

name?: string

Property Value

string

server_label

The label of the MCP server to use.

server_label: string

Property Value

string

type

For MCP tools, the type is always mcp.

type: "mcp"

Property Value

"mcp"