leave_channel
Exit a Slack channel by providing its channel ID to remove yourself from conversations and notifications.
Instructions
Leave a Slack channel.
Args:
channel_id: The ID of the channel to leave (e.g., "C01234567")
Returns:
Dictionary indicating success or error
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": "leave_channel"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| channel_id | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||