class

OpenAI::RealtimeMCPListTools

Inherits JSON::Serializable < Reference < Object

A Realtime item listing tools available on an MCP server.

Constructors

new(type_value : RealtimeMCPListToolsType = RealtimeMCPListToolsType::McpListTools, id : String | Nil = nil, server_label : String = "", tools : Array(MCPListToolsTool) = [] of MCPListToolsTool)
Source
new(*, __pull_for_json_serializable pull : JSON::PullParser)
Source

Instance methods

id

The unique ID of the list.

Source
id=(id : String | Nil)

The unique ID of the list.

Source
server_label

The label of the MCP server.

Source
server_label=(server_label : String)

The label of the MCP server.

Source
tools

The tools available on the server.

Source
tools=(tools : Array(MCPListToolsTool))

The tools available on the server.

Source
type_value

The type of the item. Always mcp_list_tools.

Source
type_value=(type_value : RealtimeMCPListToolsType)

The type of the item. Always mcp_list_tools.

Source