create_responder_comment_trigger
create a comment trigger. when someone comments the keyword on the account's instagram post, iris sends that person one direct message: the owner's message as written, followed by the notice that it is automated. instagram allows one such message per comment, within 7 days of the comment, and nothing more unless the person replies. it only sends while status.comment_triggers on get_responder is ready; needs_permission means the owner has to reconnect instagram from the responder settings page in the iris web app, unavailable means the feature isn't offered on the account yet. each message sent counts as a message against the plan. needs an API key and a connected instagram account; x402 and MPP identities cannot use it. at most 20 triggers per account, and a second trigger with the same keyword on the same post is refused. requires write scope.
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": {
"keyword": "<keyword>",
"message": "<message>"
},
"name": "create_responder_comment_trigger"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| enabled | No | whether the trigger is active (default true) | |
| keyword | Yes | matched as a whole word or phrase in the comment, case-insensitive (1-50 characters) | |
| message | Yes | the DM sent to the commenter, before the automated notice (1-900 characters, and at most 700 bytes) | |
| media_id | No | the numeric instagram media id to limit the trigger to one post (5-40 digits; get it from list_responder_posts); omit or send null to match every post |