Search Posts
search_postsSearch Mattermost posts by full-text query, newest first, with support for operators like from:, in:, before:, and after:, plus exact phrases; optionally include muted channels.
Instructions
Full-text search across Mattermost posts, newest first.
Supports Mattermost search syntax (from:username, in:channel-name, before:/after:/on:YYYY-MM-DD, "exact phrase", -excluded). By default skips channels the user has muted in the sidebar — pass include_muted=True to widen the search.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| limit | No | Maximum number of results. Default: 20. | |
| query | Yes | Search terms. | |
| category | No | Sidebar category display name to restrict results (case-insensitive), e.g. "Favorites". | |
| channel_id | No | Optional channel ID to scope the search to a single channel. | |
| include_muted | No | If True, also search muted channels. Default: False. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |