class
MCProtocol::ListToolsResult
- MCProtocol::ListToolsResult
- Reference
- Object
Overview
The server's response to a tools/list request from the client.
Included Modules
- JSON::Serializable
Defined in:
mcprotocol/list_tools_result.crConstructors
- .new(tools : Array(Tool), _meta : JSON::Any | Nil = Nil, nextCursor : String | Nil = Nil)
- .new(pull : JSON::PullParser)
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.
-
#nextCursor : String | Nil
An opaque token representing the pagination position after the last returned result.
- #tools : Array(Tool)
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.
def nextCursor : String | Nil
#
An opaque token representing the pagination position after the last returned result. If present, there may be more results available.