class

MCProtocol::ClientCapabilities

Inherits JSON::Serializable < Reference < Object

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

Constructors

new(experimental : JSON::Any | Nil = Nil, roots : ClientCapabilitiesRoots | Nil = Nil, sampling : JSON::Any | Nil = Nil)
Source
new(*, __pull_for_json_serializable pull : JSON::PullParser)
Source

Instance methods

experimental

Experimental, non-standard capabilities that the client supports.

Source
roots

Present if the client supports listing roots.

Source
sampling

Present if the client supports sampling from an LLM.

Source