class
MCProtocol::ListRootsResult
- MCProtocol::ListRootsResult
- Reference
- Object
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
- JSON::Serializable
Defined in:
mcprotocol/list_roots_result.crConstructors
Instance Method Summary
-
#_meta : JSON::Any | Nil
This result property is reserved by the protocol to allow clients and servers to attach additional metadata to their responses.
- #roots : Array(Root)
Constructor Detail
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.