open_folder
Explore a directory's code structure by retrieving a folder graph of files and declarations. Use it to preview what lives under a path before opening specific files or functions.
Instructions
Read-only. L0 folder graph rooted at a path prefix: folder -> file -> declarations. The coarsest orientation move — use it to see what lives under a directory before drilling in with open_file (one file's graph) or read_body (one function's source). Returns a {nodes, edges, manifest} graph.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| root | Yes | repo-relative path prefix to root the folder graph at | |
| format | No | text (compact, default) | json (structured result page) |