class MCProtocol::ListRootsResult

Overview

The client's response to a roots/list request from the server. This result contains an array of Root objects, each representing a root directory or file that the server can operate on.

Included Modules

Defined in:

mcprotocol/list_roots_result.cr

Constructors

Instance Method Summary

Constructor Detail

def self.new(roots : Array(Root), _meta : JSON::Any | Nil = Nil) #

[View source]
def self.new(pull : JSON::PullParser) #

[View source]

Instance Method Detail

def _meta : JSON::Any | Nil #

This result property is reserved by the protocol to allow clients and servers to attach additional metadata to their responses.


[View source]
def roots : Array(Root) #

[View source]