Preview Directory
preview_directoryGet a high-level orientation of an unknown codebase, revealing size, language mix, entry points, hot functions, and call-graph map.
Instructions
No command on a directory = orientation: size and language mix, entry points, hot functions, the call-graph map (~3-5k tokens; for first-time orientation of an unknown codebase, not for targeted questions). The file tree is the tier below (scan). In your shell: sct <dir> (if sct is not on PATH, "/app/.venv/bin/python" -m scantool.cli replaces sct).
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| depth | No | deep | |
| directory | Yes | ||
| max_files | No | ||
| max_entries | No | ||
| respect_gitignore | No |