set_channel_favorite
Favorites or unfavorites a channel, returning unfavorited channels to Channels or direct/group messages to Direct Messages.
Instructions
Favorite or unfavorite one channel. Unfavoriting returns a channel to Channels, or a direct/group message to Direct Messages.
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": {
"team_id": "<team_id>",
"channel_id": "<channel_id>",
"favorite": "<favorite>"
},
"name": "set_channel_favorite"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| team_id | Yes | Team ID. | |
| favorite | Yes | True to favorite, false to unfavorite. | |
| channel_id | Yes | Channel ID. |