whatsapp_send_cta_url
Sends an interactive WhatsApp call-to-action URL message with a clickable button, letting recipients open a specified link directly from the chat.
Instructions
Send an interactive call-to-action URL message (clickable button that opens a URL).
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": {
"to": "<to>",
"body_text": "<body_text>",
"display_text": "<display_text>",
"url": "<url>"
},
"name": "whatsapp_send_cta_url"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| to | Yes | Recipient phone number in E.164 (+55...) or wa_id | |
| url | Yes | ||
| body_text | Yes | ||
| footer_text | No | ||
| header_text | No | ||
| access_token | No | Optional override for the access token (falls back to WHATSAPP_ACCESS_TOKEN env) | |
| display_text | Yes | ||
| phone_number_id | No | WhatsApp Business Phone Number ID (falls back to WHATSAPP_PHONE_NUMBER_ID env) |