outline
Map a JS/TS file's functions, classes, and interfaces with start-end line spans to navigate code without reading it fully; enable detailed mode to include locals and callbacks.
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 |