read_file_outline
Generate a file's symbol outline with line ranges and adjustable depth, reducing token usage while providing structured code context.
Instructions
File outline: symbols with line ranges (~100 tokens). Use depth=1 for top-level only (~80t vs ~450t on complex files).
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| file | No | Relative path (also accepts file_path) | |
| depth | No | Symbol depth: 1 = top-level only (no nested consts/functions). Reduces ~450t to ~80t for complex files. | |
| file_path | No | Alias for file |