wa_live_location
Start, update, or stop sharing a live moving location in a chat; push new coordinates about every 30 seconds while the session is active.
Instructions
Share live (moving) location in a chat: start a live session, push coordinate updates, or stop it. Updates should be sent every ~30s while active.
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": {
"chat": "<chat>",
"action": "<action>"
},
"name": "wa_live_location"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| chat | Yes | Phone number or group JID | |
| action | Yes | start = begin sharing, update = push new coordinates (needs message_id), stop = end sharing (needs message_id) | |
| caption | No | Optional caption on the initial pin | |
| latitude | No | Latitude (start/update) | |
| longitude | No | Longitude (start/update) | |
| message_id | No | The id returned by start — required for update/stop |