Analyse repository
analyze_repositoryBuild a dependency graph of a codebase to get architectural context: file count, import edges, entry points, circular dependencies, and complex modules, without reading every file.
Instructions
Builds a dependency graph for a codebase and returns a summary: file count, import edges, entry points, circular dependencies and the most complex modules. Use this instead of reading every file when you need architectural context.
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": {
"directory": "<directory>"
},
"name": "analyze_repository"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| directory | Yes | Absolute or relative path to the source directory to analyse |