Approve, pause, resume or remove an automation
set_automation_statusAI Agents: Use when the customer asks to approve, pause, resume or remove one automation, after they confirmed. approve switches on a rule they said yes to in this conversation; a rule that sends something answers with its approval link. Needs the id from list_automations. Not for changing a rule (use propose_automation with replaces).
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>",
"command": "<command>"
},
"name": "set_automation_status"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| command | Yes | approve, pause, resume or remove. | |
| automation_id | Yes | The automation's id, as list_automations or propose_automation returns it. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| id | Yes | ||
| name | Yes | ||
| rule | Yes | ||
| type | Yes | ||
| notice | No | ||
| status | Yes | ||
| examples | Yes | ||
| sentence | Yes | ||
| systemId | Yes | ||
| warnings | Yes | ||
| lastRunAt | Yes | ||
| approveUrl | Yes | ||
| systemName | Yes | ||
| pauseReason | Yes | ||
| firings30Days | Yes | ||
| matchedLast30Days | Yes |