MCP::Protocol::Prompt
Inherits JSON::Serializable < Struct < Value < Object
Constructors
build(name : String, description : String | Nil = nil, title : String | Nil = nil, &block : Builder -> ) : Prompt
Fluent builder for creating prompts with arguments.
new(pull : JSON::PullParser)
Sourcenew(name : String, description : Nil | String = nil, arguments : Nil | Array(MCP::Protocol::PromptArgument) = nil, title : Nil | String = nil, meta : Nil | Hash(String, JSON::Any) = nil)
Sourcenew(*, __pull_for_json_serializable pull : JSON::PullParser)
SourceInstance methods
arguments
Sourcedescription
Sourcemeta
Sourcename
Sourcetitle
Source