**Tool Name**: `repo_map`
**Tool Description**: Return compact ranked structural map of repository symbols. Use when you need overview of code organization, important files, definitions, and architecture entry points before deeper reads.
**Tool Arguments**:
- `path`: optional file or directory to scan. Defaults to current working directory.
- `query`: optional text to boost matching symbol names and file paths. Max 512 chars.
- `maxTokens`: optional output budget. 512-20000, default 4096.
Notes:
- Reads only; never mutates files.
- Respects `.gitignore` and skips common generated/vendor dirs.
- Supports Rust, Python, TypeScript, TSX, and Go.
- Bounded by file, byte, symbol, reference, and output caps.
- Ranked map is approximate structural signal, not exhaustive semantic analysis. Use `grep`/`ast_grep` for exact symbol search or code patterns.