code_context_pack — Return the slice of an ingested repository one coding task needs: the declarations ranked most relevant to the task, each as a signature citing its file and line, packed to a token budget. Complements an exact-string search rather than replacing it — it answers which code to read, not what it says.
| Field | Type | Required | Description |
|---|
| task | string | required | the coding task in prose — what is being changed, in the words the codebase itself uses |
| seedSymbols | string | optional | declarations already in your context, comma- or newline-separated; they steer the ranking and are never returned back to you |
| seedFiles | string | optional | file paths already open in your context, comma- or newline-separated; same effect as seed symbols |
| budget | number | optional | approximate token ceiling the pack fills (default 4096) |
Contract The response is signatures, never bodies: each declaration carries its header, file, and line span so you read the source yourself at the cited position.
Contract The pack is ranked for precision, not coverage — it returns the few declarations a task turns on and stops well short of the budget when nothing else scores. A short pack is an answer, not a truncation; re-dispatch with a sharper task rather than a larger budget.
Contract Seeds are subtracted from the answer: anything you name in seedSymbols or seedFiles steers the ranking and is never spent on your budget.