instagram_like_media
Like an Instagram post as the logged-in account by providing a post URL, shortcode, or media ID. Avoid action blocks by spacing out likes.
Instructions
Like a post as the logged-in account.
Requires INSTAGRAM_ALLOW_WRITES=true. Liking in bursts is the quickest way to trigger an Instagram action block - space these out.
Args: media: A post URL, shortcode or media id.
Returns: liked (bool) and media (the post URL or reference acted on).
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": "<media>"
},
"name": "instagram_like_media"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| media | Yes | Post URL, shortcode or media id. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||