map
Returns the codebase structure as a compact overview showing files, entities, signatures, and relationships in a single call to orient developers.
Instructions
Returns the codebase structure as a compact map. Files, entities, signatures, and relationships in one call. Start here for orientation.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| scope | No | Directory or file path prefix to limit output (e.g., "src/api") | |
| max_depth | No | Max directory nesting depth | |
| detail | No | Output density. "outline": files + entity counts. "names": entity names/kinds/lines + docstrings on top-level entities. "signatures" (default): full signatures + docstrings + imports/used-by. "full": signatures + cross-file relationships. |