Validate automation
validate_automationDry run: checks a DM flow or comment rules exactly as create and update would, without saving. Returns errors (which would block saving), warnings (overlaps with other automations, broad keywords, Instagram-only steps, disabled link tracking, contacts mid-flow) and suggestions. With automationId it checks the input as a change to that automation.
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": {
"brand": "<brand>",
"type": "<type>",
"definition": "<definition>"
},
"name": "validate_automation"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| name | No | ||
| type | Yes | ||
| brand | Yes | ||
| definition | Yes | For type "dm" the flow {triggers, steps}, for "comment" the rules {conditions, actions, waitTime}, in the shape the create operations take | |
| automationId | No | Check as an update of this automation | |
| triggerOncePerUser | No |