velixar_refine_context
Refine an existing context package by expanding a section, filling a gap, or adding a topic. Supports single or batch actions for targeted improvements.
Instructions
Expand a section, fill a gap, or add a topic to an existing context package. Accepts a single action or an array of actions for batch refinement.
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"context_id": "<context_id>"
},
"name": "velixar_refine_context"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| action | No | What to do (single action) | |
| target | No | Section label, gap name, or new topic (single action) | |
| actions | No | Batch: array of {action, target, budget?} for multiple refinements in one call | |
| context_id | Yes | ID from prepare_context response | |
| additional_budget | No | Extra tokens (default 1000) |