Class: MCPServer::Tools::GetRoot

Inherits:
MCP::Tool
  • Object
show all
Defined in:
lib/mcp_server/tools/get_root.rb

Overview

Tool to get the root greeting.

Class Method Summary collapse

Class Method Details

.callObject



12
13
14
15
16
# File 'lib/mcp_server/tools/get_root.rb', line 12

def self.call(*)
  MCP::Tool::Response.new(
    [{ type: 'text', text: '🍎 Hello! This is the Cymbal Superstore Inventory API.' }]
  )
end