Connect WhatsApp
connect_whatsappConnect the bot to the owner's own WhatsApp line so it answers WhatsApp messages too (paid plans). The owner gets a line at Whapi.Cloud (https://botsai.app/whatsapp-ai-bot-for-business/ has the sign-up link and steps), links their phone there by scanning a QR code, and gives you the channel's API token. Use a business number, not a personal one. The bot only replies to people who write first.
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": {
"bot_id": "<bot_id>",
"token": "<token>"
},
"name": "connect_whatsapp"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| token | Yes | The Whapi.Cloud channel API token (from the channel page in the Whapi dashboard). | |
| bot_id | Yes | The bot id, like b_AbC123xyz789 (from create_bot or list_my_bots). | |
| edit_key | No | The bot's edit key, like bsk_… (from create_bot). Not needed when the user is signed in and the bot is in their account. Keep it private. |