Class: GetRootTool

Inherits:
MCP::Tool
  • Object
show all
Defined in:
lib/get_root_tool.rb

Overview

Tool to get a greeting from the API.

Class Method Summary collapse

Class Method Details

.call ⇒ Object



12
13
14
15
16
# File 'lib/get_root_tool.rb', line 12

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