analyze_repository
Analyzes git-tracked TS/JS files to produce a structural summary: counts of classes, methods, functions, exports, top files by declarations, and call-resolution stats (exact vs ambiguous).
Instructions
Parses the git-tracked TypeScript and JavaScript files in the current repository via ts-morph and returns a structural summary: file, class, method, function and exported-function counts, a per-file breakdown (capped at 100 files, ranked by declaration count), and call-resolution statistics showing how many call sites the TypeScript checker resolved exactly versus left ambiguous. Untracked and ignored files are excluded. Results are cached until a source file changes on disk.
Tool call template
This tool declares no required parameters. Add optional parameters from the input schema as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {},
"name": "analyze_repository"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||