struct
ActionController::MCPServer::PromptArgument
- ActionController::MCPServer::PromptArgument
- Struct
- Value
- Object
Overview
an argument accepted by a prompt
Included Modules
- JSON::Serializable
- YAML::Serializable
Extended Modules
- JSON::Schema
Defined in:
action-controller/mcp/description.crConstructors
- .new(name : String, in __arg1 : String, description : Nil | String, required : Bool)
- .new(ctx : YAML::ParseContext, node : YAML::Nodes::Node)
- .new(pull : JSON::PullParser)
- .new(*, __pull_for_json_serializable pull : JSON::PullParser)
- .new(*, __context_for_yaml_serializable ctx : YAML::ParseContext, __node_for_yaml_serializable node : YAML::Nodes::Node)
Instance Method Summary
- #description : String | Nil
-
#in : String
path, query or header
- #name : String
- #required? : Bool
Constructor Detail
def self.new(name : String, in __arg1 : String, description : Nil | String, required : Bool)
#
def self.new(*, __context_for_yaml_serializable ctx : YAML::ParseContext, __node_for_yaml_serializable node : YAML::Nodes::Node)
#