Get Unread
get_unreadRetrieve unread message counts and mention badges for Mattermost channels, with optional category filtering and muted-channel inclusion to match client badge behavior.
Instructions
Get unread counts and mention badges per channel.
By default skips channels muted in the sidebar (same behavior as the client unread badge). Pass include_muted=True to see every unread.
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": "get_unread"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| category | No | Filter by sidebar category (case-insensitive), e.g. "Favorites". | |
| include_muted | No | If True, include muted channels in the result. Default: False. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |