mattermost_list_channels
List channels in a Mattermost workspace. Optionally include private channels and direct messages by setting include_private to true.
Instructions
List channels in the Mattermost workspace. By default lists public team channels. Set include_private=true to get all channels including private channels and direct messages (DMs).
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": "mattermost_list_channels"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| page | No | Page number for pagination (starting from 0) | |
| limit | No | Maximum number of channels to return (default 100, max 200) | |
| include_private | No | If true, returns all channels for the current user including private channels and direct messages. If false (default), returns only public team channels. |