openwisp_get_device_coordinates
Retrieve the geographic coordinates of a specific OpenWISP device by providing its device ID and coordinate access key.
Instructions
[Category: Geo & Locations] Get device coordinates for a geocoded device. (HTTP GET /api/v1/controller/device/{id}/coordinates/)
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": {
"id": "<id>",
"key": "<key>"
},
"name": "openwisp_get_device_coordinates"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| id | Yes | Device UUID or ID | |
| key | Yes | Coordinate access key |