instagram_comment_media
Post a comment on an Instagram post or reply to a specific comment. Provide media URL, shortcode, or ID, and comment text.
Instructions
Post a comment on a post, or a reply to an existing comment.
Publicly visible immediately. Confirm the wording with the person you are working for first. Requires INSTAGRAM_ALLOW_WRITES=true.
Args: media: A post URL, shortcode or media id. text: What to say. replied_to_comment_id: Reply to this comment instead of the post.
Returns: posted (bool) and comment: comment_id, text, author, created_at.
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": {
"media": "<media>",
"text": "<text>"
},
"name": "instagram_comment_media"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| text | Yes | Comment body. | |
| media | Yes | Post URL, shortcode or media id. | |
| replied_to_comment_id | No | Comment id to reply to, from instagram_get_media_comments. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||