GetPromptResult extension type

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

on
Implemented types

Constructors

GetPromptResult.new({String? description, required List<PromptMessage> messages, Meta? meta})
factory
GetPromptResult.fromMap(Map<String, Object?> _value)

Properties

description String?
An optional description for the prompt.
no setter
messages List<PromptMessage>
All the messages in this prompt.
no setter
meta Meta?
no setterinherited