OpenAI::MCPListTools
Inherits JSON::Serializable < Reference < Object
A list of tools available on an MCP server.
Constructors
new(pull : JSON::PullParser)
Sourcenew(type_value : MCPListToolsType = MCPListToolsType::McpListTools, id : String = "", server_label : String = "", tools : Array(MCPListToolsTool) = [] of MCPListToolsTool, error : MCPListToolsError | Nil = nil)
Sourcenew(*, __pull_for_json_serializable pull : JSON::PullParser)
SourceInstance methods
error
Sourceerror=(error : MCPListToolsError | Nil)
Source