get_whatsapp_calling
Read a number's WhatsApp Business Calling trunk: status (pending/active/failed/disabled), provisioning step, and last_error. Poll this after enabling — provisioning is asynchronous. 404 means WhatsApp calling was never enabled on this number.
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": {
"number_id": "<number_id>"
},
"name": "get_whatsapp_calling"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| 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. | |
| number_id | Yes | tenant number UUID (from list_numbers) — NOT the trunk id |