workflow_job
Manage detached workflow jobs by waiting for completion, retrying failed steps, skipping, approving, or granting access when a job needs you.
Instructions
Follow and fix detached work. wait returns when the job finishes or needs you (state done, waiting with reason fix, approval, hands or user, failed); call it again when it returns still running. approve and grant only after the user agreed in this chat.
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": {
"action": "<action>"
},
"name": "workflow_job"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| id | No | Job id. | |
| all | No | For grant: every job waiting for the hands. | |
| patch | No | For do: a script to run before the failed step is tried again. It sees args, scene and the helpers, not the script's variables. | |
| value | No | For skip: the value the skipped step returns. | |
| action | Yes | ||
| target | No | For retry: the name to use now. | |
| options | No | For retry: step options such as {"timeout": 15000}. | |
| seconds | No | For grant: how long the job may use the mouse and keyboard. | |
| timeout_ms | No | For wait: how long to wait, default 50000. |