struct

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.

Source
new(name : String, description : Nil | String = nil, arguments : Nil | Array(MCP::Protocol::PromptArgument) = nil, title : Nil | String = nil, meta : Nil | Hash(String, JSON::Any) = nil)
Source
new(*, __pull_for_json_serializable pull : JSON::PullParser)
Source

Instance methods

arguments
Source
description
Source
meta
Source
name
Source
title
Source

Nested types