Create a comment
instagram_create_commentPost a top-level comment on an Instagram media object; previews by default, then set apply:true to publish the comment.
Instructions
Post a new top-level comment on a media object (POST /{media-id}/comments). Preview by default; re-run with apply:true (or set IG_WRITE_MODE=apply) to perform the comment.
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": {
"mediaId": "<mediaId>",
"message": "<message>"
},
"name": "instagram_create_comment"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| apply | No | Set true to perform the write; omitted/false previews only. | |
| account | No | Name of the configured account profile to operate as (multi-account). Omit to use the default profile (IG_ACTIVE_PROFILE). | |
| mediaId | Yes | The id of the media to comment on. | |
| message | Yes | The comment text to post. |