set_automation_active
Activate or deactivate a WhatsApp automation; activation defaults to a dry run showing flow and per-run cost for approval, while deactivation stops new runs immediately.
Instructions
Turn an automation on or off. Turning ON makes real, paid WhatsApp messages go out to customers on every trigger, so with active=true it is a dry run by default: it returns the flow and the cost per run for the user to approve, and only activates when called again with dryRun=false. Turning off (active=false) applies immediately and only stops new runs. The plan limits how many automations can be active.
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": {
"automationId": "<automationId>",
"active": "<active>"
},
"name": "set_automation_active"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| active | Yes | ||
| dryRun | No | ||
| automationId | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| ok | Yes | ||
| data | No | ||
| error | No |