run_diagnosis
Scans backend routes, contracts, errors, environment variables, security, and performance to detect issues and generate diagnostics documentation.
Instructions
Run a full backend diagnosis — scans routes, checks contracts, audits errors, env vars, security, and performance. Generates documentation and updates the issue ledger. This is the main entry point.
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"projectPath": "<projectPath>"
},
"name": "run_diagnosis"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| focus | No | Focus area for the diagnosis (default: all) | all |
| projectPath | Yes | Absolute path to the project root directory |