class ActionController::MCPServer::Description
inherits Reference
#
the toolboxes available to MCP clients, typically saved as mcp.yml
Included modules
JSON::Serializable
YAML::Serializable
Extended modules
JSON::Schema
Constructors#
.new(*, __context_for_yaml_serializable ctx : YAML::ParseContext, __node_for_yaml_serializable node : YAML::Nodes::Node)#
Methods#
#prompt?(name : String) : Tuple(Toolbox, Prompt) | Nil#
returns the prompt and the toolbox it belongs to
#tool?(name : String) : Tuple(Toolbox, Tool) | Nil#
returns the tool and the toolbox it belongs to