instagram_search_posts
Search Instagram posts by keyword phrases to locate accounts behind captions and topics, even when unhashtagged.
Instructions
Search posts by keyword, the way the app's search results tab does.
Unlike hashtag lookup this matches captions and Instagram's own topic modelling, so it works for phrases nobody tags. Mostly useful as a way to reach the accounts behind the posts.
Args: query: The phrase to search for. amount: How many posts to fetch.
Returns: query, count and medias[]: media_id, code, url, type, taken_at, author, caption, like_count, comment_count.
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": {
"query": "<query>"
},
"name": "instagram_search_posts"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| query | Yes | What to search for, e.g. 'amsterdam fitness coach'. | |
| amount | No | Maximum posts to return. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||