get_context_bundle
Retrieve source code, import dependencies, and optional callers for symbols within a token budget, supporting batch queries with deduplication.
Instructions
Get a symbol's source code + its import dependencies + optional callers, packed within a token budget. Supports batch queries with shared-import deduplication.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| symbol_id | No | Single symbol ID | |
| symbol_ids | No | Batch: multiple symbol IDs | |
| fqn | No | Alternative: look up by FQN | |
| include_callers | No | Include who calls these symbols (default false) | |
| token_budget | No | Max tokens (default 8000) | |
| output_format | No | Output format (default json) |