reject_subgoal
Reject a subgoal with a reason, recording it in goal_status.json. Applicable from ready, queued, running, done_by_agent, or needs_fix statuses.
Instructions
Reject a subgoal with a reason. Allowed from any non-terminal status (ready/queued/running/done_by_agent/needs_fix). Records rejected_reason in goal_status.json.
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": {
"goal_id": "<goal_id>",
"subgoal_id": "<subgoal_id>",
"reason": "<reason>"
},
"name": "reject_subgoal"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| reason | Yes | Rejection reason (required). | |
| goal_id | Yes | Goal ID. | |
| subgoal_id | Yes | Subgoal ID to reject. |