document_symbols
Outline a code file or directory into a token-efficient list of classes, functions, and types with line numbers. Understand structure without reading the full file.
Instructions
Outline a file — classes/functions/types as a capped kind name :line list. Cheaper than reading the whole file for its structure. scope="directory" builds a signatures-only skeleton of every code file under path.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| path | No | File to outline (or, with scope=directory, the subtree; default = root). | |
| scope | No | `file` (default) | `directory` (skeleton of every file under it). | |
| backend | No | ||
| maxResults | No | ||
| projectPath | No |