Get Channel
get_channelGet one channel with the users and individual devices assigned to it. A delivery sent to the channel reaches every active device of each assigned user, plus each individually assigned device. Call this before set_channel_users or set_channel_devices, which replace the whole list, so you can keep existing assignments. Returns the channel's slug and public_id, users (public_id, email, name), and devices (user public_id, email, device_id).
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": "get_channel"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| slug | No | Channel slug, such as ops or ios-beta, from list_channels. Provide public_id or slug. | |
| 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 |
|---|---|---|---|
| channel | Yes |