add_devices_to_group
Add specified device UUIDs to an existing group by staging the change; returns a change_id, and nothing changes until you apply it.
Instructions
Add devices to a device group. Returns a change_id; nothing changes until apply_change.
Args: group_id: The group to add devices to. device_ids: List of device UUIDs to add.
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": {
"group_id": "<group_id>",
"device_ids": "<device_ids>"
},
"name": "add_devices_to_group"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| group_id | Yes | ||
| device_ids | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |