repo_map
Build a lightweight repository map with directory tree, file count, and likely entrypoints. Orient before reading files; respects .gitignore.
Instructions
Build a lightweight repository map: directory tree, file count, and likely entrypoints/manifests. Use this first to orient before reading files. Honors .gitignore.
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_map"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| root | No | Absolute or relative path to the repository root. Defaults to REPO_CONTEXT_ROOT or cwd. | |
| max_depth | No | Maximum directory depth (default 6). | |
| max_entries | No | Maximum files to include (default 400). |