Get code map
get_mapRetrieve a file or directory's symbol map with line numbers, signatures, imports, and dependents to pinpoint needed code before reading full files.
Instructions
Structure of a file or directory from the prebuilt index: every symbol with its line number and one-line signature, NO bodies. For a file, also shows what it imports (with each dependency's main exports) and who imports it. Cheaper than reading the whole file or globbing directories. Use BEFORE reading any file to decide which exact lines you need.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| target | Yes | File or directory path relative to the repo root (e.g. "src" or "src/server.ts"). "." = whole repo. |