outline
Generate an indented structure of functions, classes, and interfaces with line spans in a JS/TS file to navigate code without reading it in full.
Instructions
What's in this file? Example: outline(file_path="src/app.ts").
Indented outline (functions, classes, interfaces, with :start-end line
spans) of a JS/TS file in source order, so you can navigate without reading
it in full. Locals, callbacks and object-literal keys inside functions and
variables are left out; pass detailed=true to include them. Follow up
with hover/definition/references at a listed line, or symbol_info by name.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| detailed | No | ||
| file_path | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |