teams_leave_channel
Leave a private or shared Teams channel by team and channel ID; standard channels require adjusting team membership instead.
Instructions
Leave a private or shared channel (work/school); standard channels follow team membership.
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": "<team>",
"channel_id": "<channel_id>"
},
"name": "teams_leave_channel"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| team | Yes | Group id, team thread id, or exact name | |
| account | No | Account alias (see teams_accounts). Defaults to the default account. | |
| channel_id | Yes |