Save an Instagram auto-reply
autoreplies_saveCreate or replace an Instagram comment rule on Studio or Pro. Send every required field on each save. Before enabling it, show the user the account, posts, words and exact message and get their approval for automatic private replies. Returns the saved rule. Replies are sent only once Instagram has approved Spica Post for messages, which is not yet: until then a rule is kept and sends nothing, so tell the user that before they rely on it.
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": {
"accountId": "<accountId>",
"mediaId": "<mediaId>",
"words": "<words>",
"message": "<message>",
"on": "<on>"
},
"name": "autoreplies_save"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| id | No | A rule id from autoreplies_list. Leave it out to create a rule. | |
| on | Yes | Set true to send automatically on matching comments, or false to keep the rule switched off. | |
| words | Yes | 1 to 10 trigger words. Any one matches, ignoring letter case. | |
| brandId | No | The brand this is for, by its id from brands_list. Needed when the login has more than one brand; with one brand it can be left out. | |
| mediaId | Yes | The Instagram post or reel id (1 to 32 digits), or "all" for every post and reel on the account. | |
| message | Yes | The private reply text, up to 1000 UTF-8 bytes including links and the optional disclosure line. | |
| accountId | Yes | A connected Instagram account id from accounts_list. | |
| automatedLine | No | Append a blank line and "Automated reply" to the message. Defaults to false. |