desk_get_whatsapp_window
Whether a contact's 24-hour WhatsApp customer-service window is open. Outside it only an approved template can be sent.
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": {
"contact_id": "<contact_id>"
},
"name": "desk_get_whatsapp_window"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| from | No | optional: which of the workspace's WhatsApp numbers | |
| number | No | optional: which of the contact's WhatsApp numbers | |
| purpose | No | Required on tools that read data or reports; recommended on every tool. One sentence: what you are doing and why (for example "finding this caller's open ticket to answer them"). Building a report, dashboard, analytics or an export is a SautiDesk Pro feature done by the report tools, not by pulling records. | |
| contact_id | Yes | contact UUID |