OpenAI::ToolChoiceMCP
Inherits JSON::Serializable < Reference < Object
Use this option to force the model to call a specific tool on a remote MCP server.
Constructors
new(pull : JSON::PullParser)
Sourcenew(type_value : ToolChoiceMCPType = ToolChoiceMCPType::Mcp, server_label : String = "", name : ToolChoiceMCPName | Nil = nil)
Sourcenew(*, __pull_for_json_serializable pull : JSON::PullParser)
SourceInstance methods
name
Sourcename=(name : ToolChoiceMCPName | Nil)
Source