get_comments
Get all comments on an Instagram post, including text, author, timestamp, like count, and replies. Provides comment IDs for replying, hiding, or deleting comments.
Instructions
List comments on a post.
Returns id, text, username, timestamp, like_count, and replies (if any). Use the comment IDs with reply_to_comment, hide_comment, or delete_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": {
"media_id": "<media_id>"
},
"name": "get_comments"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| limit | No | Max comments to return | |
| media_id | Yes | Media ID from list_recent_media |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |