get_property
Retrieve real-time property values from Xiaomi smart home devices, including brightness, temperature, and switch status.
Instructions
读取设备属性值,例如灯光亮度、空调温度、开关状态等。
Args:
did: 设备ID
prop_name: 属性名称,如 power、brightness、temperature
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": {
"did": "<did>",
"prop_name": "<prop_name>"
},
"name": "get_property"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| did | Yes | ||
| prop_name | Yes |