OpenAI::MCPListToolsTool
Inherits JSON::Serializable < Reference < Object
A tool available on an MCP server.
Constructors
new(pull : JSON::PullParser)
Sourcenew(name : String = "", description : MCPListToolsToolDescription | Nil = nil, input_schema : Hash(String, JSON::Any) = Hash(String, JSON::Any).new, annotations : MCPListToolsToolAnnotations | Nil = nil)
Sourcenew(*, __pull_for_json_serializable pull : JSON::PullParser)
SourceInstance methods
annotations
Sourceannotations=(annotations : MCPListToolsToolAnnotations | Nil)
Sourcedescription
Sourcedescription=(description : MCPListToolsToolDescription | Nil)
SourceThe JSON schema describing the tool's input.