class

MCProtocol::ServerCapabilities

Inherits JSON::Serializable < Reference < Object

Capabilities that a server may support. Known capabilities are defined here, in this schema, but this is not a closed set: any server can define its own, additional capabilities.

Constructors

new(experimental : JSON::Any | Nil = Nil, logging : JSON::Any | Nil = Nil, prompts : ServerCapabilitiesPrompts | Nil = Nil, resources : ServerCapabilitiesResources | Nil = Nil, tools : ServerCapabilitiesTools | Nil = Nil)
Source
new(*, __pull_for_json_serializable pull : JSON::PullParser)
Source

Instance methods

experimental

Experimental, non-standard capabilities that the server supports.

Source
logging

Present if the server supports sending log messages to the client.

Source
prompts

Present if the server offers any prompt templates.

Source
resources

Present if the server offers any resources to read.

Source
tools

Present if the server offers any tools to call.

Source