get_battery_report
Reads all battery-powered Xiaomi devices in the home, returns them sorted by battery level ascending. Identifies devices with battery at or below 20% for quick replacement decisions.
Instructions
全屋电量普查:批量读取所有带电池的设备,按电量升序返回。
回答"哪些设备该换电池了"用这个,比逐设备查询快得多。 low 字段列出电量 ≤20% 的设备。
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_battery_report"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| home | No | 可选,家庭名称或ID;不传用服务端默认家庭。 |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||