Like DM messages
apply_message_actionsLikes DMs as the brand (a heart), or removes it (unlike). Instagram DMs from the contact only; others are skipped with the reason. Up to 20 ids, one at a time; more than one needs a confirmation. Liking the newest message can mark the conversation done. May first return a confirmation summary and token instead of acting.
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": {
"brand": "<brand>",
"ids": "<ids>",
"action": "<action>"
},
"name": "apply_message_actions"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| ids | Yes | Message ids from list_messages. | |
| brand | Yes | ||
| action | Yes | ||
| confirmationToken | No |