Outline a file
outlineReturns the declared structure of a source file—types, functions, exports, targets, and settings—without bodies, so a 2,000-line file reads as a single page.
Instructions
Return what a file declares -- its types, functions, exports, targets and settings -- without their bodies, so that reading a 2,000-line source file costs a page. This is the machine behind run asked a different question: it holds no table of languages and never reads the suffix, so it answers about Rust, Haskell, a Makefile, a config file with no extension, or a language that did not exist last year. Lines come from the file byte for byte, and peek on the same path returns any range of it in full.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| keep | No | ||
| path | Yes | ||
| budget | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |