File symbols
project_file_symbolsExtract all symbols (functions, classes, structs, interfaces) from a single source file with an optional language hint to get a complete file-level symbol list.
Instructions
Extract all symbols (fn/def/class/struct/interface) from one source file, with an optional language hint. Use when: you need the complete symbol list of a single file (not just the top-level outline). Avoid when: you need cross-file references (project_symbol_references) or a directory tree (project_list_files). Speed: fast; single-file regex scan, no external indexer. Output: file_symbols: count, language, symbols[] {name, kind, line, signature}. Batch-safe: yes
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| language | No | ||
| relative_path | Yes | Path inside the workspace (relative, or absolute inside the workspace) | |
| include_classes | No | ||
| include_functions | No |