get_device_status
Read the full status of a Xiaomi smart home device, returning raw values and human-readable texts. Optionally filter properties to retrieve only selected attributes.
Instructions
读取单个设备的详细状态(批量拉取,含原始值与语义化文本)。
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": {
"device": "<device>"
},
"name": "get_device_status"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| props | No | 可选,只读取这些属性名(可从 get_device_spec 获得);不传则读取全部可读属性(至多32个)。 | |
| device | Yes | 设备名称或 did;名称支持唯一子串匹配。 |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||