workflow_watch
Monitor desktop windows, notifications, or file downloads and start a routine or return when the event fires, enabling agents to wait for changes without blocking the user.
Instructions
Let the resident host watch for something and tell you, or start a routine when it happens: a window opening or closing, text in a window, a notification, a file finishing. wait returns when it fires.
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_watch"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| id | No | Watch id. | |
| in | No | Window whose text to watch. | |
| args | No | Arguments for then; {match}, {file}, {title} are filled in. | |
| file | No | File path that should finish downloading. | |
| gone | No | Fire when it goes away instead. | |
| text | No | Text to watch for (with in). | |
| then | No | Routine to start when it fires. | |
| action | Yes | ||
| window | No | Window title part. | |
| timeout_ms | No | For wait: how long to wait, default 50000. | |
| allow_final | No | The user agreed now to the routine's final steps. | |
| notification | No | Notification text part. |