list_devices
Retrieve a list of all Mi smart home devices with details like ID, name, model, and online status. Optionally filter by home ID or refresh the cache.
Instructions
列出所有米家智能设备。返回设备ID、名称、型号、在线状态等信息。
Args:
home_id: 按家庭ID过滤,不传则返回全部设备
refresh: 是否强制刷新设备列表缓存
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": "list_devices"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| home_id | No | ||
| refresh | No |