struct ActionController::MCPServer::PromptArgument

Overview

an argument accepted by a prompt

Included Modules

Extended Modules

Defined in:

action-controller/mcp/description.cr

Constructors

Instance Method Summary

Constructor Detail

def self.new(name : String, in __arg1 : String, description : Nil | String, required : Bool) #

[View source]
def self.new(ctx : YAML::ParseContext, node : YAML::Nodes::Node) #

[View source]
def self.new(pull : JSON::PullParser) #

[View source]
def self.new(*, __pull_for_json_serializable pull : JSON::PullParser) #

[View source]
def self.new(*, __context_for_yaml_serializable ctx : YAML::ParseContext, __node_for_yaml_serializable node : YAML::Nodes::Node) #

[View source]

Instance Method Detail

def description : String | Nil #

[View source]
def in : String #

path, query or header


[View source]
def name : String #

[View source]
def required? : Bool #

[View source]