Create a WhatsApp click-to-chat link
generate_whatsapp_linkCreate a wa.me URL with an optional prefilled message for copying or sharing. Requires a valid phone number; does not verify WhatsApp registration. Inputs are processed by this server to return the result; this tool does not store or log phone numbers or text. It does not access an account or send messages.
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": {
"phone": "<phone>"
},
"name": "generate_whatsapp_link"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| phone | Yes | International phone number beginning with +, or a national number with defaultCountry. | |
| locale | No | en | |
| message | No | ||
| defaultCountry | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| url | Yes | ||
| e164 | Yes | ||
| locale | No | en | |
| messageSent | Yes |