Analyze repository — batch summary
analyze_batch_summaryAnalyze a repository to produce a compact health score and top-5 hotspot files for quick triage. Use it before full batch analysis to decide if pagination is needed.
Instructions
Return a compact project health score and top-5 hotspot files from a repository scan. Always fits within a single LLM context window. Use this before analyze_batch to decide whether full pagination is needed.
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": {
"path": "<path>",
"language": "<language>"
},
"name": "analyze_batch_summary"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| path | Yes | Absolute or relative path to the repository root. | |
| language | Yes | Language identifier to restrict analysis (e.g. ``"python"``). | |
| max_files | No | Cap on the number of files to analyse. Default to 100. | |
| enable_external_tools | No | Opt-in execution of external linters. Default to False. | |
| allow_temporary_runners | No | Permit temporary-runner strategies. Default to False. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| hotspots | Yes | ||
| total_files | Yes | ||
| health_score | Yes | ||
| total_violations | Yes |