get_last_location
Get the current location of an OwnTracks user or device, or all users, including coordinates, fix age, address, regions, accuracy, speed, battery, and a map link.
Instructions
Current (most recent) position of a user/device, or of everyone if no user is given.
Returns coordinates, time and age of the fix, address (if the Recorder geocodes), regions the device is in, accuracy, speed, battery and a map link. Always mention how old the position is.
Tool call template
This tool declares no required parameters. Add optional parameters from the input schema as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {},
"name": "get_last_location"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| user | No | OwnTracks user name. "me" = configured default user. Omit for everyone (where supported). | |
| device | No | Device name of that user. Omit if the user has only one device. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||