Class: RosettAi::Mcp::Tools::ConfigStatusTool
- Inherits:
-
Object
- Object
- RosettAi::Mcp::Tools::ConfigStatusTool
- Defined in:
- lib/rosett_ai/mcp/tools/config_status_tool.rb
Overview
MCP tool: show rai configuration status.
Returns the current state of rai configuration including project info, engine status, and validation state.
Constant Summary collapse
- TOOL_NAME =
'rai_config_status'- DESCRIPTION =
'Show rai configuration and project status'- ANNOTATIONS =
{ 'readOnlyHint' => true, 'destructiveHint' => false, 'idempotentHint' => true, 'openWorldHint' => false }.freeze
Instance Method Summary collapse
-
#call ⇒ Hash
Executes the status check.
Instance Method Details
#call ⇒ Hash
Executes the status check.
30 31 32 33 34 35 36 37 38 |
# File 'lib/rosett_ai/mcp/tools/config_status_tool.rb', line 30 def call { version: RosettAi::VERSION, project_root: RosettAi.root.to_s, behaviours: count_files('conf/behaviour'), designs: count_files('conf/design'), engines: detect_engines } end |