get_whatsapp_call_permission
Check whether a contact has granted permission for you to call them on WhatsApp. A contact with nothing on record comes back as "no_permission" rather than an error. Pass live=true to also check with Meta and refresh the stored value.
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": {
"connection_id": "<connection_id>",
"wa_id": "<wa_id>"
},
"name": "get_whatsapp_call_permission"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| live | No | also check with Meta and persist the refreshed status; a failed live check silently degrades to the stored value | |
| wa_id | Yes | the contact's WhatsApp id (a phone number) | |
| 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. | |
| connection_id | Yes | UUID of the WhatsApp connection the contact belongs to |