publ betaReference (MCP guide)
Open publ console

messenger_gift_reactions_apply

# messenger_gift_reactions_apply

Change reactions on received gifts in the Messenger app (pApp D00003). Requires 1–3 of heart/like/confetti and confirmation CHANGE_GIFT_REACTIONS_AND_FOLLOWUPS. Write: a single gift toggles; several gifts add. Room additions can notify the sender and mark rooms read. A lost receipt stays pending and is never resent; task_resume only observes, and prepared work needs the identical apply. Called without confirmToken it previews and returns a confirmToken; repeating the same input with it executes once.

## Inputs

| Field | Required here | Contract |
| --- | --- | --- |
| `target` | Yes | object |
| `target.entryPoint` | No | `room-gift-list`, `gift-bubble` |
| `target.roomUuid` | No | string; pattern `^[A-Za-z0-9_-]{1,200}$` |
| `target.mode` | Yes | `single`, `multiple` |
| `target.inventoryIds` | Yes | array; items: integer; greater than 0; min items 1; max items 100 |
| `change` | Yes | object |
| `change.reactionValues` | Yes | array; items: `heart`, `like`, `confetti`; min items 1; max items 3 |
| `change.confirmation` | Yes | `CHANGE_GIFT_REACTIONS_AND_FOLLOWUPS` |
| `confirmToken` | No | string; pattern `^ct[a-f\d]{32}$`; The confirmToken from this tool's preview result. Omit it to preview; repeat the same input with it to execute. |