manage_whatsapp_queue
Comprehensive WhatsApp queue management tool supporting all queue operations. Perfect for monitoring queue health, controlling message delivery flow, and performing bulk message operations. Supports all WhatsApp queue operations through a unified action-based interface.
Available actions:
get_status: Get comprehensive queue statistics and status information
update_status: Update queue processing status (pause/active/reject/freeze) with optional force delivery
delete_messages: Delete queued messages with flexible filtering options. A call with no messageIds, phoneNumbers, groupIds or dateRange would delete every queued and scheduled message, so it is refused unless confirmEmptyQueue is true
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": {
"device": "<device>",
"action": "<action>"
},
"name": "manage_whatsapp_queue"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| force | No | Force delivery of all queued messages with no delay for 30 minutes (only works with "active" or "reject" status) | |
| action | Yes | Action to perform on WhatsApp queue | |
| device | Yes | WhatsApp device ID connected to Wassenger (24 character hexadecimal string) | |
| status | No | Queue processing status (required for update_status action) | |
| filters | No | Filtering options for selective message deletion (for delete_messages action) | |
| confirmEmptyQueue | No | Set to true only to delete every queued and scheduled message of the number (scheduled ones are kept if filters.skipScheduled is true). delete_messages refuses a call without messageIds, phoneNumbers, groupIds or a dateRange unless this is true | |
| waitForCompletion | No | Wait until all messages are deleted (may take up to 90 seconds for large queues) |