Search messages
searchSearch all Microsoft Teams messages with full-text queries or browse by filters including sender, conversation, date range, and attachments.
Instructions
Full-text search across all messages with filters. Empty query = filtered browse. from/in accept display-name / title substrings or handles. mentions_me finds messages that @mention you. Note: this reads the LOCAL Teams cache — history is the synced slice on this device, not the full server archive.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| in | No | conversation: title substring or c:handle | |
| from | No | sender: display-name substring or p:handle | |
| kind | No | ||
| limit | No | default 20 | |
| query | No | FTS query; omit to browse by filters only | |
| since | No | ||
| until | No | ||
| exclude | No | c:/p: handles to exclude from results | |
| mentions_me | No | ||
| has_attachment | No |