run_automation
Start one of the user's saved AIVane automations with its named inputs, for example to extract data from a website, fill in a form, or download a report. It replays that automation's saved steps on the sites it was built for; it cannot browse or scrape a site that no saved automation covers. It runs on one of the targets listed as available for it: AIVane's cloud browser, a registered device, or this computer through the AIVane desktop app. Returns the final result if it finishes within the wait, or a run_id and status to check with get_run. Wait defaults to 30 seconds, with a maximum of 110 seconds that the server may lower. An unknown result is terminal. Verify what happened before deciding whether to run again, and never auto-retry unknown or RESULT_UNKNOWN. Errors can include NOT_FOUND, NOT_RUNNABLE, INVALID_INPUTS, TARGET_NOT_ALLOWED, TARGET_UNAVAILABLE, QUOTA_EXHAUSTED, RISK_CONSENT_REQUIRED, FILE_INPUT_UNSUPPORTED, CONNECTION_REQUIRED, BUSY (retryable), REQUEST_CONFLICT (same request id with different arguments), SESSION_REQUIRED, or UNAUTHORIZED.
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": {
"automation_id": "<automation_id>"
},
"name": "run_automation"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| inputs | No | Values keyed by the automation's input names. | |
| target | No | Omit to choose the first available target. Use local on the local server, or cloud or device:<id> on the cloud server. Each server validates its allowed values. | |
| wait_seconds | No | Seconds to wait for a completed result. Defaults to 30, with a maximum of 110 that the server may lower. | |
| automation_id | Yes | The id returned by list_automations. |