Connected devices
iot_devicesEvery meter, sensor and thermostat connected to the account: kind, location, whether it is online, its latest values, and how many alerts are open on it. Start here for "is anything wrong in the building" or "what is the boiler doing right now".
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": "iot_devices"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| kind | No | Device kind (electric_meter, water_meter, thermostat, leak, smoke_co, boiler, …). | |
| view | No | "attention" = offline or carrying an open alert. | |
| limit | No | Maximum rows to return (1-200, default 50). | |
| offset | No | Rows to skip, for paging. | |
| property_id | No | Limit to one property. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| note | No | Why the result was truncated, when it was. | |
| count | Yes | How many rows are in `results`. | |
| results | Yes | The rows. | |
| truncated | No | Present and true when the result was too large to return in full. Treat it as a partial answer. | |
| total_available | No | How many rows existed before truncation. |