context
Retrieve a file's API plus the exact surface of every imported module before editing, giving you all needed code interfaces in one budgeted dependency closure.
Instructions
Get everything you need to edit a file correctly, in one budgeted block: the file's own API plus the exact surface of every module it imports, followed transitively through project code.
Call this INSTEAD OF reading a file and its dependencies, before you start editing. It is a dependency closure computed from the code — not a similarity search — so it contains what the file actually uses, and it is typically several times cheaper than reading the same files. Ask again whenever you need it rather than holding it in context.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| depth | No | How far to follow project-local imports. Default 1. | |
| paths | Yes | The file or files you are about to edit. | |
| budget | No | Approximate token budget. Default 6000. |