Set a channel's secret
colliedesk_channels_credentials_setStore a secret a channel's type needs (an access token of its account). It is sealed and only its last four characters are shown again. The names by type: zalo: app_secret, oa_secret_key, access_token, refresh_token (email, web_form and help_chat keep none here).
Needs: channels:manage_credentials.
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": "<name>",
"value": "<value>"
},
"name": "colliedesk_channels_credentials_set"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| name | Yes | ||
| value | Yes | ||
| channel_id | Yes | From colliedesk_channels_list. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| hint | Yes | ||
| name | Yes |