Fail Step
fail_stepRecord a step failure with an error message, and choose to retry, skip the step, or skip its dependents.
Instructions
Mark a step as failed with error details.
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": {
"plan_id": "<plan_id>",
"step_number": "<step_number>",
"error": "<error>"
},
"name": "fail_step"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| skip | No | Skip this step and continue | |
| error | Yes | Error message | |
| retry | No | Whether to retry the step | |
| plan_id | Yes | Plan ID | |
| step_number | Yes | Step number that failed | |
| skip_dependents | No | Skip all steps that depend on this one |