get_nearest_sensor
Finds the closest working air quality sensor for given latitude and longitude coordinates and returns its current reading.
Instructions
Given latitude/longitude, find the closest working sensor and return its current reading.
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>",
"lon": "<lon>"
},
"name": "get_nearest_sensor"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| lat | Yes | Latitude | |
| lon | Yes | Longitude |