outline
Lists each declaration in a file with line numbers, giving its shape without reading the whole file. Clearly indicates if the file is not indexed or defines nothing.
Instructions
Code lane: lists what one file declares, in line order - its shape without reading the whole thing. Use where_used instead to find every caller of one symbol. Takes a repository-relative path. Read-only. States plainly when the index has never seen that path, which differs from 'this file defines nothing' - a file added since the last index build falls in the first case. Replies with one line per definition (name and line number), or the plain 'not indexed' or 'defines nothing' text.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| path | Yes | Repository-relative path, exactly as the index stores it. |