wa_call_policy
Sets how incoming WhatsApp calls are handled at runtime by rejecting, ignoring, or accepting them. Use it to change call handling on the fly when the calls layer is enabled.
Instructions
Change how incoming WhatsApp calls are handled at runtime: reject (auto-decline), ignore (just log), or accept (answer). Requires the calls layer enabled.
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": {
"policy": "<policy>"
},
"name": "wa_call_policy"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| policy | Yes | New call policy |