Generate enterprise report
generate_reportGenerates a business overview report from a codebase scan, covering features, roles, access control, data model, architecture, and findings. Claude mode adds narrative analysis and owner questions.
Instructions
Write a self-contained HTML report (plus Markdown and optional JSON facts) with executive summary, feature inventory, actors & roles, use cases, role × feature access matrix, restrictions, ERD, C4 architecture, module dependencies, endpoint catalogue and findings. mode=claude adds Claude's narrative analysis and owner questions.
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": {
"root": "<root>"
},
"name": "generate_report"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| mode | No | ||
| root | Yes | Absolute path of the project to analyse (a mounted path such as /workspace when running in Docker). | |
| formats | No | ||
| out_dir | No | Default <root>/docs/business-overview | |
| refresh | No | Re-scan the project instead of using the cached analysis. |