process_run_step_fail
Report a failed attempt of the current step of a Process instance.
Under the step's max_attempts a retry is scheduled on a deadline timer
(outcome: retry_scheduled); at the limit the step is escalated
(outcome: escalated) and a Work item is opened for a person to retry,
take over or close the run. A step with no policy escalates at once.
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>",
"step": "<step>",
"reason": "<reason>"
},
"name": "process_run_step_fail"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| step | Yes | The run's current step that just failed | |
| agent | No | Override agent attribution label | |
| reason | Yes | Why the attempt failed; kept on the timeline | |
| run_id | Yes | Process run UUID | |
| attempt | No | The attempt number you saw fail; a repeat or stale report is refused |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||