Run Automation Tool
run-automation-toolStart one of the user's automations now, the same as "Run now" in the web app.
The AI agent then drives the automation's phones on its own; this returns the
run at once with status "queued". Poll get-automation-run-tool with its id
until status is done, failed or stopped, then read outcome, result and
phone_reports. A run can be refused (the automation is off, a run is already
going, the daily limit is reached, no phone is online, or the agent is
unavailable); the error says which.
A tiktok_warmup automation (see list-automations-tool) has no daily limit and
starts one session per phone at once, so this returns the first one already
"running" alongside sessions, the number started, and skipped_busy_slots,
the phones left alone because another run already drives them; payload is
ignored, it has no parameters.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| slots | No | Run on only these of the automation's phones, given as `slot` UUIDs from list-phones-tool. Omit to run on all of them. | |
| payload | No | Values for the automation's `payload_parameters`, keyed by name, the same fields its webhook would receive. Omit when it has none. | |
| automation_id | Yes | The automation `id` from list-automations-tool. |