List Channels
list_channelsRetrieve Mattermost channels you belong to, filtered by team, sidebar category, direct messages, or muted status.
Instructions
List all Mattermost channels the authenticated user is a member of.
Tool call template
This tool declares no required parameters. Add optional parameters from the input schema as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {},
"name": "list_channels"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| team_id | No | Optional team ID to filter channels. If omitted, returns channels from all teams. | |
| category | No | Filter by sidebar category display name (case-insensitive), e.g. "Favorites". | |
| include_dm | No | Whether to include direct message channels. Default: True. | |
| include_muted | No | If False, drop channels muted in the sidebar. Default: True. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |