Update Channel
update_channelRename a channel by changing its slug. Assigned users, devices, and API key scopes stay attached. Senders that target the old slug, such as scripts, SDK calls, and agents using target_channel_slugs, stop reaching this channel until they switch to the new slug, so confirm with the user first. Identify the channel with public_id or current_slug and pass the new name as slug. Alternatively, pass the current slug as slug and the new name as new_slug. Fails if the new slug is already used. Returns the updated channel.
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": "update_channel"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| slug | No | The new slug when the channel is identified by public_id or current_slug. When new_slug is also sent without public_id, this is the current slug instead. Normalized like create_channel. | |
| new_slug | No | The new slug, when slug carries the current slug. Normalized like create_channel. | |
| public_id | No | Channel public_id from list_channels. Use with slug, which is then the new slug. | |
| current_slug | No | The channel's current slug. Use with slug, which is then the new slug. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| channel | Yes |