class MCProtocol::ClientCapabilities

Overview

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.

Included Modules

Defined in:

mcprotocol/client_capabilities.cr

Constructors

Instance Method Summary

Constructor Detail

def self.new(pull : JSON::PullParser) #

[View source]
def self.new(experimental : JSON::Any | Nil = Nil, roots : ClientCapabilitiesRoots | Nil = Nil, sampling : JSON::Any | Nil = Nil) #

[View source]

Instance Method Detail

def experimental : JSON::Any | Nil #

Experimental, non-standard capabilities that the client supports.


[View source]
def roots : ClientCapabilitiesRoots | Nil #

Present if the client supports listing roots.


[View source]
def sampling : JSON::Any | Nil #

Present if the client supports sampling from an LLM.


[View source]