add_devices_to_group
Add one or more devices to a specified device group in Itential Platform, merging them into the existing list without duplication. Empty input is a no-op.
Instructions
Add one or more devices to a device group
This tool will add one or more devices to a named device group defined in Itential Platform. The name argument specifies the name of the device group to add the list of devices to. The name must be a valid device group. The list of named device groups can be found using the get_device_groups tool.
The devices argument provides the list of devices to be added to the named device group. This operation is additive and idempotent: it merges the supplied devices into the group's existing device list rather than replacing it, and devices already present in the group are not duplicated. Passing an empty list or None is a no-op that leaves the group's devices unchanged.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| name | Yes | The name of the device group to add devices to | |
| devices | No | List of devices to add to the group |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| status | Yes | Message that provides the status of the operation | |
| message | Yes | Short description of the status of the operation |