Search posts (raw)
search_postsFind Mattermost posts using raw query syntax. Apply filters for sender, channel, date, and phrases to retrieve exact messages from team conversations.
Instructions
Low-level Mattermost message search using raw query syntax. Supports modifiers inside terms: from:username, in:channel-name, after:YYYY-MM-DD, before:YYYY-MM-DD, "quoted phrase", trailing wildcard*. On servers indexed without a CJK analyzer, Korean text matches per whitespace-delimited word only — append * to Korean terms ('공유*') to match inflected forms. Prefer search_context for natural-language questions; use this when you need a precise query.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| team | No | Restrict to one team by name; omit to search all my teams | |
| terms | Yes | Search query, e.g. '데모 계정 in:proj-x after:2026-08-01' or '"demo credentials"' | |
| or_search | No | Match ANY term instead of ALL terms (default false) | |
| max_results | No | Max posts to return (default 25) |