class

MCP::Protocol::ServerCapabilities

Inherits JSON::Serializable::Unmapped < JSON::Serializable < Reference < Object

Constructors

new(experimental : Nil | Hash(String, JSON::Any) = nil, sampling : Nil | Hash(String, JSON::Any) = nil, logging : Nil | Hash(String, JSON::Any) = nil, completions : Nil | Hash(String, JSON::Any) = nil, prompts : MCP::Protocol::ServerCapabilities::PromptsCapability | Nil = nil, resources : MCP::Protocol::ServerCapabilities::ResourcesCapability | Nil = nil, tools : MCP::Protocol::ServerCapabilities::ToolsCapability | Nil = nil, tasks : Nil | Hash(String, JSON::Any) = nil, extensions : Nil | Hash(String, JSON::Any) = nil)
Source
new(*, __pull_for_json_serializable pull : JSON::PullParser)
Source

Instance methods

completions
Source
experimental
Source
extensions
Source
logging
Source
prompts
Source
resources
Source
sampling
Source
tasks
Source
tools
Source
with_completions
Source
with_experimental
Source
with_extensions
Source
with_logging
Source
with_prompts(list_changed : Bool = false)
Source
with_resources(list_changed : Bool | Nil = nil, subscribe : Bool | Nil = nil)
Source
with_tasks
Source
with_tools(list_changed : Bool | Nil = nil)
Source

Nested types