Change a channel
colliedesk_channels_updateRename a channel, make it its type's default (is_default true: what names no channel goes to it), turn it on or off, or change its configuration or its rules (settings). While a channel is off it receives nothing: what arrives is held for a person to open or discard (the web form instead answers as if it did not exist), and replies are saved but not sent until it is on again. processing_paused true pauses a Zalo channel's processing (what arrives waits in its journal as it came, nothing is decided, opened or sent), false resumes it: what arrived is then processed in order by its rules. It is safe to repeat.
Needs: channels:update.
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": {
"channel_id": "<channel_id>"
},
"name": "colliedesk_channels_update"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| name | No | ||
| config | No | The type's configuration: email {support_address, sender_name}; web_form {allowed_origins}; help_chat {greeting, suggestions (at most 4), instructions, widget_origins}; zalo {oa_id, app_id (both to add one), staff_user_ids, groups (group id to organization), site_verification (the code Zalo gives the app's URL prefix with the HTML file method; the meta tag or file name may be given; empty clears it)}. Setting up Zalo: Zalo takes the webhook only on a verified address, so give the person the channel's verification_prefix_url to verify in the Zalo app (URL prefix, HTML file method), set the code Zalo shows as site_verification with colliedesk_channels_update, then give them webhook_url for the app's webhook settings. | |
| enabled | No | ||
| settings | No | The channel's rules over its type's defaults: join_policy {kind: always_reopen, within_days with days, never}, default_tags, default_priority, default_assignee_id, rate_limits {window_seconds, per_sender, new_conversations, scope}, commands (name to {action, phrases, tags, priority}), review, scopes, notices {received}. Never a secret. | |
| channel_id | Yes | From colliedesk_channels_list. | |
| is_default | No | true makes the channel its type's default; the one that was loses it. | |
| help_center_id | No | Help chat and web form only: the help center it serves (from colliedesk_help_centers_list); null or left out serves the primary. A help chat answers from that help center's articles alone, and its conversations show its name. | |
| processing_paused | No | true pauses the channel's processing, false resumes it (Zalo channels only). |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| channel | Yes |