rails_get_service_pattern
Analyze Rails service objects to reveal their patterns, interfaces, dependencies, and side effects, helping you understand structure, add new services, or trace behavior.
Instructions
Analyze service objects in app/services/, app/interactions/ and app/interactors/: patterns, interfaces, dependencies, and side effects. Use when: understanding how services are structured, adding a new service, or tracing what a service does. Specify service:"CreateOrder" for full detail, or omit to detect the common pattern and list all services.
Tool call template
This tool declares no required parameters. Add optional parameters from the input schema as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {},
"name": "rails_get_service_pattern"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| detail | No | Detail level. summary: names only. standard: names + method signatures + line counts (default). full: everything including side effects, error handling, and callers. | |
| service | No | Service class name or filename (e.g. 'CreateOrder', 'create_order'). Omit to list all services with pattern detection. |