whatsapp_webhook_set
Set (or remove) this WhatsApp install's outbound webhook. Owner/admin only.
To set: pass
url(https only, not localhost).eventsis the list of subscribed events ("permissions") — e.g. ["whatsapp.message"], or ["whatsapp.*"] for every WhatsApp event, or [] / omit for ALL events. See available_events from whatsapp_webhook_get.include_result(default true) controls whether the tool result is included in tool.call payloads.secretis optional (reserved).Subscribing to any whatsapp.* event makes the daemon hold a live connection per number and forward inbound messages to your URL.
To remove the webhook: pass
remove: true(or an empty url).
Tool call template
This tool declares no required parameters. Add optional parameters from the input schema as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {},
"name": "whatsapp_webhook_set"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| url | No | ||
| events | No | ||
| remove | No | ||
| secret | No | ||
| include_result | No |