get_sensor
Fetch the latest temperature, humidity, battery level, check-in time, and offline status for a sensor ID. Use it to monitor freezer, fridge, or other monitored environments.
Instructions
Get the latest reading for one sensor: temperature (Celsius and Fahrenheit), humidity, last check-in, battery level and offline status.
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": {
"sensor_id": "<sensor_id>"
},
"name": "get_sensor"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| sensor_id | Yes | Sensor ID, as returned by list_sensors. |