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.
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": "map"
}
}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. |