Class: DiagnoseTool

Inherits:
FastMcp::Tool
  • Object
show all
Defined in:
lib/rails_pg_extras/mcp_app.rb

Class Method Summary collapse

Instance Method Summary collapse

Class Method Details

.nameObject



60
61
62
# File 'lib/rails_pg_extras/mcp_app.rb', line 60

def self.name
  "diagnose"
end

Instance Method Details

#callObject



56
57
58
# File 'lib/rails_pg_extras/mcp_app.rb', line 56

def call
  RailsPgExtras.diagnose(in_format: :hash)
end