class MCProtocol::ListResourcesResult

Overview

The server's response to a resources/list request from the client.

Included Modules

Defined in:

mcprotocol/list_resources_result.cr

Constructors

Instance Method Summary

Constructor Detail

def self.new(resources : Array(Resource), _meta : JSON::Any | Nil = Nil, nextCursor : String | 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 nextCursor : String | Nil #

An opaque token representing the pagination position after the last returned result. If present, there may be more results available.


[View source]
def resources : Array(Resource) #

[View source]