Add an auto-reply rule
create_auto_reply_ruleAdds a keyword rule for one account: when a DM, comment or mention matches, reply with a fixed text or with an AI reply in the person's voice.
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": {
"account_id": "<account_id>",
"name": "<name>",
"applies_to": "<applies_to>",
"when": "<when>",
"reply_with": "<reply_with>"
},
"name": "create_auto_reply_rule"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| name | Yes | A short name for the rule. | |
| when | Yes | any (every message), keyword (contains the keyword) or exact (the whole message equals the keyword). | |
| keyword | No | The keyword, for keyword or exact. | |
| priority | No | Higher runs first when several rules match. | |
| account_id | Yes | The account_id from get_auto_reply_settings. | |
| applies_to | Yes | dm, comment or mention. | |
| reply_text | No | The reply to send, for fixed. | |
| reply_with | Yes | ai (reply written in the person's voice) or fixed (send reply_text). | |
| skip_approval | No | Send without waiting for approval. |