Set Channel Devices
set_channel_devicesReplace the full list of individually assigned devices in a channel. Use it to include specific devices, such as one person's iPad, without adding all of that person's devices through set_channel_users. Devices left out are removed, and sending no devices removes them all; user assignments are kept. To add one device, call get_channel first and send the existing devices plus the new one. Each device must belong to the given account user (see list_account_devices). Returns the channel and the resulting device assignments.
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": "set_channel_devices"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| slug | No | Channel slug, such as ops or ios-beta, from list_channels. Provide public_id or slug. | |
| devices | No | Complete list of devices to assign. Duplicates are ignored. | |
| public_id | No | Channel public_id from list_channels. Provide public_id or slug; if you send both, they must match the same channel. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| slug | Yes | ||
| devices | Yes | ||
| success | Yes | ||
| public_id | Yes |