Add an action to an automation
add_automation_actionOn one site of the account, named in site. An action at the end of the automation, its wait after the step before: add_label or remove_label (name the label; a new name becomes one), add_to_circle or remove_from_circle (name the circle). A label an action adds starts that label's automations, so one automation can lead to the next.
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": {
"site": "<site>",
"automation": "<automation>",
"action": "<action>"
},
"name": "add_automation_action"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| site | Yes | The site to work on, as list_sites names it | |
| label | No | ||
| action | Yes | ||
| circle | No | The circle's name | |
| wait_unit | No | minutes, hours or days; days when left out | |
| automation | Yes | The automation's id, or its name in any case | |
| wait_amount | No | How long it waits after the step before it (the first step: after the trigger). Left out: at once for the first step, a day for the others |