Exception: Mcp::Tools::Manager::ToolNotFoundError

Inherits:
StandardError
  • Object
show all
Defined in:
app/services/mcp/tools/manager.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(tool_name) ⇒ ToolNotFoundError

Returns a new instance of ToolNotFoundError.



11
12
13
14
# File 'app/services/mcp/tools/manager.rb', line 11

def initialize(tool_name)
  @tool_name = tool_name
  super("Tool '#{tool_name}' not found.")
end

Instance Attribute Details

#argsObject (readonly)

Returns the value of attribute args.



9
10
11
# File 'app/services/mcp/tools/manager.rb', line 9

def args
  @args
end

#tool_nameObject (readonly)

Returns the value of attribute tool_name.



9
10
11
# File 'app/services/mcp/tools/manager.rb', line 9

def tool_name
  @tool_name
end