waha_pin_message
Pin important messages to the top of WhatsApp chats for easy reference, with customizable duration settings.
Instructions
Pin a message in a chat. Pinned messages appear at the top of the chat.
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": {
"chatId": "<chatId>",
"messageId": "<messageId>"
},
"name": "waha_pin_message"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| chatId | Yes | Chat ID (format: number@c.us) | |
| messageId | Yes | Message ID to pin | |
| duration | No | Pin duration in seconds (default: 86400 = 24 hours) |