Preview Directory
preview_directoryGet a codebase overview: size, language mix, entry points, and hot functions. Use this to orient yourself in an unfamiliar project before targeted exploration.
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). Line one lists the answer's parts with their line counts and the form that fetches one part alone. The file tree is the tier below (scan). Answers: an overview of a codebase or repository; where to start in an unfamiliar project; entry points and the most-called functions. 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 |
|---|---|---|---|
| part | No | ||
| depth | No | deep | |
| directory | Yes | ||
| max_files | No | ||
| max_entries | No | ||
| respect_gitignore | No |