Skip to content

struct ActionController::MCPServer::PromptArgument
inherits Struct #

an argument accepted by a prompt

Included modules

JSON::Serializable YAML::Serializable

Extended modules

JSON::Schema

Constructors#

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

View source

.new(ctx : YAML::ParseContext, node : YAML::Nodes::Node)#

View source

.new(pull : JSON::PullParser)#

View source

.new(*, __pull_for_json_serializable pull : JSON::PullParser)#

View source

.new(*, __context_for_yaml_serializable ctx : YAML::ParseContext, __node_for_yaml_serializable node : YAML::Nodes::Node)#

View source

Methods#

#description : String | ::Nil#

View source

#in : String#

path, query or header

View source

#name : String#

View source

#required? : Bool#

View source