Outline symbols
project_outline_symbolParse a source file to list functions, classes, types, and interfaces with line numbers, helping you inspect structure before reading or refactoring.
Instructions
Parse a source file and return its symbol outline (functions, classes, types, interfaces) with line numbers. Use when: you need to see the structure / top-level symbols of a file before reading or refactoring it. Avoid when: you need every usage of a symbol (project_symbol_references) or a text-only diff (project_diff_files). Speed: fast; single-file regex scan, no external indexer. Output: outline_symbol: total_symbols, symbols[] {name, kind, line, signature}. Batch-safe: yes
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| language | No | ||
| max_symbols | No | ||
| relative_path | Yes | Path inside the workspace (relative, or absolute inside the workspace) | |
| include_classes | No | ||
| include_functions | No |