Get repository map
get_repository_mapGenerate a focused repository map prioritizing key files and symbols via import-graph centrality, enabling agents to orient before reading source.
Instructions
Build a bounded, task-focusable repository map of important files and symbols. Ranking uses import-graph centrality plus optional path/symbol focus, so an agent can orient itself before reading source.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| focus | No | Optional paths or symbols to prioritize | |
| directory | No | Project directory | . |
| max_files | No | Maximum files to inspect | |
| max_tokens | No | Approximate maximum size of the textual map | |
| redact_secrets | No | Redact common secrets in the rendered map (default: true) |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| data | No | ||
| meta | Yes | ||
| error | No | ||
| message | No | ||
| success | Yes | ||
| schema_version | Yes |