Map the codebase
code_file_mapRecursively maps a project's code files, showing total counts, bytes, extensions, and split candidates for oversized modules. Optionally lists top-level exported symbols in JS/TS files for navigation.
Instructions
Recursively map the project's codeLocation: total file count + bytes, counts by extension, and the files that exceed the split thresholds (lines/bytes) as split candidates (worst first) — useful for spotting oversized modules to decompose. With symbols:true, also returns a per-file list of top-level exported functions/classes/consts for JS/TS files (regex-based, capped per file) — a lightweight symbol map for navigation.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| project | Yes | ||
| symbols | No | Also extract top-level exported symbols per JS/TS file. | |
| splitBytes | No | ||
| splitLines | No |