Repository map
repo_mapGet a token-budgeted repository map in one call: filtered file tree, language stats, entry points, and key symbols. Use it before reading files to decide which matter. Respects .gitignore.
Instructions
Get a compact map of a repository in one call: filtered file tree, language stats, entry points, and key symbols. Use it before reading files to decide which files matter. Respects .gitignore. Output is capped by a token budget.
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>"
},
"name": "repo_map"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| path | Yes | Absolute path to the repository root | |
| depth | No | How many directory levels to expand (default 2) | |
| budget | No | Approximate token budget for the response (default 1500) |