send_location
Sends latitude and longitude with optional location details to an existing chat via chat ID or phone number, requiring an open session.
Instructions
Send a location to an existing chat. (Only if the dialogue has an Open Session). Only one of two parameters is needed to determine the destination - chatId or phone.
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": {
"lat": "<lat>",
"lng": "<lng>"
},
"name": "send_location"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| lat | Yes | ||
| lng | Yes | ||
| name | No | ||
| phone | No | ||
| chatId | No | ||
| address | No | ||
| quotedMsgId | No |