outline
List every symbol and its line range in a source file without reading the full source, using a cached tree-sitter parse to show the file's structure.
Instructions
List every symbol (kind + line range) in a single source file via cached tree-sitter parse. Prefer over Read when you only need the file's structure (what's in here?) rather than the full byte stream — outline returns ~50 lines of structured records vs reading thousands of lines of source.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| file | No | DEPRECATED — use `path`. Pre-v1.7 alias, still accepted; emits a deprecated_args notice in _meta. | |
| path | Yes | Filesystem path to the source file — canonical key (v1.7+). Absolute or relative to project_root. | |
| project_root | No | Absolute path to the project root (defaults to the MCP working directory) |