repo_stats
Retrieve a language and size breakdown for a local repository, providing total files, total lines, and per-extension details sorted by line count.
Instructions
Get a language and size breakdown for a local repository.
Args: path: Filesystem path to the repo root (default: current directory).
Returns: Dict with total_files, total_lines, and a per-extension breakdown (files + lines), sorted by line count descending.
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": "repo_stats"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| path | No | . |