analyze_repository
Run a comprehensive batch analysis over an entire repository to produce code health metrics, identify maintainability risks, and guide refactoring decisions across selected file patterns.
Instructions
Perform batch analysis of an entire repository for code health metrics
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": {
"repositoryPath": "<repositoryPath>"
},
"name": "analyze_repository"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| filePatterns | No | Optional file patterns to include (e.g., ["*.ts", "*.js"]) | |
| repositoryPath | Yes | Path to the repository root directory |