Instagram posts, stories and comments
instagramMediaInstagram content by mode: an account's posts, reels or tagged posts (user_id), one post by shortcode or url, a post's comments, the replies to a comment (comment_id), or an account's active stories (username). 5 credits.
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": {
"mode": "<mode>"
},
"name": "instagramMedia"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| url | No | ||
| mode | Yes | ||
| count | No | ||
| user_id | No | ||
| media_id | No | ||
| username | No | Username (stories) | |
| shortcode | No | ||
| comment_id | No | Parent comment id (comment_replies) | |
| end_cursor | No | ||
| pagination_token | No | ||
| code_or_id_or_url | No |