Create comment-to-DM rule
autoreply_rule_createCreate a keyword auto-reply rule to publicly answer matching comments and DM the resource, ensuring each future comment is handled once.
Instructions
Create a keyword rule: when someone comments a keyword (e.g. 'GUIDE'), reply publicly and DM them the resource. Only comments made after the rule is created are handled, each at most once. Use {username} in templates. Keep links out of public replies; put them in the DM. Runs automatically every few minutes while the connector is running.
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": {
"name": "<name>"
},
"name": "autoreply_rule_create"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| name | Yes | ||
| account | No | Which account: Instagram @username, Page name, or id. Omit for the default account. | |
| enabled | No | ||
| keywords | No | ||
| platform | No | ||
| post_ids | No | Limit to these posts; empty = your recent posts (last 30 days) | |
| dm_message | No | ||
| match_mode | No | 'any' replies to every comment | contains |
| public_replies | No | Rotated at random so replies do not look robotic |