ig_search_hashtag
Obtain the unique ID for a given hashtag name, required to query media posts tagged with that hashtag. Results are cached to optimize API quota usage.
Instructions
Search for a hashtag ID by name. Required before querying hashtag media. Limited to 30 unique hashtags per 7-day rolling window — meta-mcp caches results in-process to maximize quota utilization on repeated lookups.
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": {
"q": "<q>"
},
"name": "ig_search_hashtag"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| q | Yes | Hashtag name to search (without #) |