run_scene
Activate a Xiaomi smart home scene to run all preset device actions by supplying the scene ID.
Instructions
执行一个米家场景,触发该场景中预设的所有设备操作。
Args:
scene_id: 场景ID
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": {
"scene_id": "<scene_id>"
},
"name": "run_scene"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| scene_id | Yes |