delete_automation
Permanently delete a WhatsApp automation with a dry-run preview by default; deletion requires a second call with dryRun=false after approval. To stop it, use set_automation_active active=false.
Instructions
Permanently delete an automation. Dry run by default: it shows what would be removed (name, active state, stats) and deletes only when called again with dryRun=false after the user approves. To just stop it, prefer set_automation_active with active=false.
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>"
},
"name": "delete_automation"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| dryRun | No | ||
| automationId | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| ok | Yes | ||
| data | No | ||
| error | No |