class MCProtocol::ListPromptsResult

Overview

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

Included Modules

Defined in:

mcprotocol/list_prompts_result.cr

Constructors

Instance Method Summary

Constructor Detail

def self.new(prompts : Array(Prompt), _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 prompts : Array(Prompt) #

[View source]