wa_pin_message
Pin or unpin a WhatsApp chat or group message sent by the connected number; set type 1 to pin for all (default) or 2 to unpin for all.
Instructions
Pin (or unpin) a message in a WhatsApp chat or group. The message must have been sent by the connected number (fromMe). type: 1 = pin for all (default), 2 = unpin for all.
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": {
"jid": "<jid>",
"message_id": "<message_id>"
},
"name": "wa_pin_message"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| jid | Yes | Chat/group JID the message lives in | |
| type | No | 1 = pin for all (default), 2 = unpin for all | |
| message_id | Yes | Message ID (stanza id) of the message to pin |