workflow_routine_run
Run a saved desktop or browser routine and stop at the first step whose effect differs from prior runs, so you can review the mismatch before completing the rest.
Instructions
Run a saved routine. It stops at the first step whose effect differs from the saved runs (EFFECT_MISMATCH); then finish the rest with workflow_run.
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": {
"name": "<name>"
},
"name": "workflow_routine_run"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| args | No | Values the script reads as args.NAME. | |
| mode | No | How the user sees the work: background (default, mouse and keyboard untouched), watch (on screen at a human pace, amber pointer), record (on screen at a human pace, the user's own pointer), direct (real input whenever a step needs it). Leave it out unless the user asked for one; saved preferences apply otherwise. | |
| name | Yes | Routine name. | |
| detach | No | Hand the work to the resident host and get a job id at once; follow it with workflow_job (action wait). Use it for work longer than about 20 seconds. | |
| browser | No | Which browser web steps use, separate from mode: clean (a private window with no sign-ins), chrome (the user's own Chrome with their sign-ins, in its own tab; it stays behind unless mode puts work on screen; workflow_connect once), space (the agent's own profile signed in once). Leave it out to use the saved preference. | |
| session | No | A named agent-browser session instead of browser; never one that was connected to the user's Chrome. | |
| timeout_ms | No | How long the script may run, default 120000. | |
| allow_final | No | Let send, submit, pay, delete and post steps go through. Only when the user asked for that step in this request or agreed in this chat. | |
| allow_input | No | Let steps use the real mouse and keyboard. Only after the user agreed in this chat, or said so in this request. |