Send WhatsApp Location
whatsapp_send_locationSend a location pin to a WhatsApp user by providing their phone number, latitude, and longitude. Optionally include a name and address for the location.
Instructions
Send a location pin to a WhatsApp user.
Args:
to (string): Recipient phone number
latitude (number): Latitude (-90 to 90)
longitude (number): Longitude (-180 to 180)
name (string, optional): Location name
address (string, optional): Location address
Returns: Message ID and delivery status.
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 international format (e.g. '353851234567' or '+353851234567') | |
| name | No | Name of the location | |
| address | No | Address of the location | |
| latitude | Yes | Latitude of the location | |
| longitude | Yes | Longitude of the location | |
| response_format | No | Output format: 'markdown' for human-readable or 'json' for structured data | markdown |