Send a location pin
send_locationSend a map pin over WhatsApp. Counts as one message. With pacing on, a message to one person waits unless they messaged this number in the last 24 hours.
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": "send_location"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| to | Yes | Recipient: a phone number in international format (+5511988887777) or a WhatsApp address (5511988887777@s.whatsapp.net, an @lid contact, or a @g.us group). | |
| from | No | Which of your WhatsApp numbers sends this: its id or its phone number. Optional: with a single connected number it is resolved for you. | |
| name | No | Label shown on the pin. | |
| humanize | No | Whether to come online, read the recipient's last message and show a typing indicator before sending. On by default, which adds a few seconds. false skips those steps, not the send queue. Configure each part per number with update_number. | |
| latitude | Yes | ||
| longitude | Yes | ||
| skipQueue | No | Send immediately instead of waiting in this number's queue. Only for a message the recipient expects right now, such as a login code or a confirmation they requested. This bypasses the configured spacing, so using it for outreach can create bursts and increase the risk of a ban. Default: off. | |
| idempotencyKey | No | Your own unique id for this call, such as a UUID. If the call fails with no answer, call again with the same key: it runs once, and the retry gets the first answer back. Answers are kept for 24 hours. |