whatsapp_send_location
Send a WhatsApp location pin to a recipient using latitude and longitude, with optional name and address details.
Instructions
Send a location pin on WhatsApp.
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>",
"latitude": "<latitude>",
"longitude": "<longitude>"
},
"name": "whatsapp_send_location"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| to | Yes | Recipient phone number in E.164 (+55...) or wa_id | |
| name | No | ||
| address | No | ||
| latitude | Yes | ||
| longitude | Yes | ||
| access_token | No | Optional override for the access token (falls back to WHATSAPP_ACCESS_TOKEN env) | |
| phone_number_id | No | WhatsApp Business Phone Number ID (falls back to WHATSAPP_PHONE_NUMBER_ID env) |