revise_workflow_goal
Revise a paused or awaiting-input workflow run's root goal at a quiescent checkpoint. Provide the current goal revision to avoid stale-revision rejection; replanning is then required.
Instructions
Revise a root run goal at a quiescent paused or awaiting-input checkpoint.
Only the run's interaction owner can revise it. Supply the current goal_revision (0 if no goal exists). Stale revisions, terminal runs and active nested/parallel work are rejected. The nonblank goal is preserved verbatim up to 64 KiB UTF-8. History and completed work remain; previous assessments are invalidated and replanning is required before further dispatch. Each run retains at most 64 goal revisions (including the initial goal) and 1 MiB UTF-8 of cumulative goal text. Edits exceeding either bound are rejected; start a new run.
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": {
"run_id": "<run_id>",
"goal": "<goal>",
"expected_revision": "<expected_revision>"
},
"name": "revise_workflow_goal"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| goal | Yes | ||
| run_id | Yes | ||
| expected_revision | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||