ActionController::MCPServer::Toolbox
Inherits YAML::Serializable < JSON::Serializable < Reference < Object
a controller exposed as a group of tools and prompts
Constructors
new(name : String, controller : String, description : Nil | String, tools : Array(ActionController::MCPServer::Tool) = [] of Tool, prompts : Array(ActionController::MCPServer::Prompt) = [] of Prompt, icons : Nil | Array(JSON::Any) = nil)
Sourcenew(ctx : YAML::ParseContext, node : YAML::Nodes::Node)
Sourcenew(pull : JSON::PullParser)
Sourcenew(*, __pull_for_json_serializable pull : JSON::PullParser)
Sourcenew(*, __context_for_yaml_serializable ctx : YAML::ParseContext, __node_for_yaml_serializable node : YAML::Nodes::Node)
SourceInstance methods
controller
Sourcedescription
Sourcename
Sourceprompts
Sourcetools
Source