request_whatsapp_call_permission
Ask a WhatsApp contact for permission to call them — required before you can place a WhatsApp call to them. mode "free_form" (default) builds an interactive request from text and is subject to the 24-hour customer service window; mode "template" uses an approved template carrying a call_permission_request component and works any time. The contact's answer arrives as the whatsapp.call_permission.updated webhook.
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": "request_whatsapp_call_permission"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| mode | No | "free_form" (default; builds an interactive request from text, and is subject to the 24-hour customer service window) or "template" (uses an approved template carrying a call_permission_request component, allowed any time) | |
| text | No | required when mode is free_form: the message asking for permission | |
| wa_id | Yes | the contact's WhatsApp id (a phone number) to ask | |
| 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. | |
| template | No | required when mode is template: {name, language_code, components} | |
| connection_id | Yes | UUID of the WhatsApp connection to send from |