ig_get_comments
Fetch comments on an Instagram media post by providing a media ID. Supports pagination and custom field selection.
Instructions
Get comments on a specific Instagram media post.
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": "ig_get_comments"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| after | No | Pagination cursor for next page | |
| limit | No | Number of comments to return | |
| before | No | Pagination cursor for previous page | |
| fields | No | Comma-separated fields (default: id,text,username,timestamp,like_count,hidden,from,replies{id,text,username,timestamp,like_count,hidden,from}) | id,text,username,timestamp,like_count,hidden,from,replies{id,text,username,timestamp,like_count,hidden,from} |
| media_id | Yes | Media ID |