document_symbols
Outline a file's classes, functions, types as a capped kind:name:line list, or generate a signature skeleton for all files in a directory. Uses language-server indexing for token efficiency.
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 |