update_dm_automation
Edit a DM automation rule to pause, resume, or update its keywords, replies, and settings. For comment_keyword rules, keep opening_message and button_label when changing other fields.
Instructions
Edit a DM automation rule — most commonly active=false/true to pause or resume it. comment_keyword rules cannot drop opening_message or button_label.
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": {
"id": "<id>"
},
"name": "update_dm_automation"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| id | Yes | Rule id from list_dm_automations. | |
| name | No | ||
| active | No | ||
| keywords | No | ||
| ai_prompt | No | ||
| ai_enabled | No | ||
| match_type | No | ||
| button_label | No | ||
| reply_variants | No | ||
| opening_message | No | ||
| once_per_user_hours | No | ||
| public_reply_variants | No |