plan_fail
Mark an active plan step as failed and record the failure reason so work can resume from an accurate state.
Instructions
Mark the active [~] step as failed [!] and append a reason.
Args: id: ID of the failed step. reason: Reason for the failure.
Returns: A success or error message.
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": {
"id": "<id>",
"reason": "<reason>"
},
"name": "plan_fail"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| id | Yes | ||
| reason | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |