module

CrystalMcp::Tools

Orchestrates the various tools available to the MCP server.

Instance methods

call(name : String, arguments : JSON::Any) : String

Dispatches a tool call to the appropriate tool module.

Returns a JSON string with the tool execution results.

Parameters:

  • name: The name of the tool to call.
  • arguments: The arguments for the tool call as JSON::Any.
Source
list

Returns a list of all available tool definitions.

Source

Nested types