wa_webhook
Register or clear an HTTP webhook URL so every incoming WhatsApp message is POSTed there as JSON for building custom bots. Omit the URL to view the current webhook.
Instructions
Register or clear an HTTP webhook URL. Every incoming message is POSTed there as JSON (event, chat, from, text, media_type, id) — build your own bots on top. Requires confirm to set.
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": "wa_webhook"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| url | No | The webhook URL (https recommended). Omit to just view the current one | |
| clear | No | Remove the webhook | |
| confirm | No | Must be true when setting a URL |