Class: Archsight::MCP::ExecuteAnalysisTool
- Inherits:
-
FastMcp::Tool
- Object
- FastMcp::Tool
- Archsight::MCP::ExecuteAnalysisTool
- Defined in:
- lib/archsight/mcp/execute_analysis_tool.rb
Instance Method Summary collapse
Instance Method Details
#call(name: nil, verbose: false) ⇒ Object
31 32 33 34 35 36 37 38 39 |
# File 'lib/archsight/mcp/execute_analysis_tool.rb', line 31 def call(name: nil, verbose: false) if name.nil? list_analyses else execute_analysis(name, verbose: verbose) end rescue StandardError => e error_response(e.) end |