Poll an automation until it terminates
action1_wait_for_automationWait for an Action1 automation instance to reach a terminal status—Stopped, Success, Warning, or Error—or time out. Use it to poll script runs and optionally fetch filtered output.
Instructions
Block until an automation instance reaches a terminal status (Stopped/Success/Warning/Error) or timeout.
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": {
"instance_id": "<instance_id>"
},
"name": "action1_wait_for_automation"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| org_id | No | Org UUID. | |
| endpoint_id | No | If set, also fetch filtered script output. | |
| instance_id | Yes | Instance UUID. | |
| response_format | No | Output format. Default markdown. | |
| timeout_seconds | No | Polling timeout. | |
| poll_interval_seconds | No | Poll interval seconds. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| output | No | string | |
| status | No | object |