search_messages
Find messages in Microsoft Teams by searching across channels and chats using KQL queries for sender, mentions, attachments, and other filters.
Instructions
Search for messages across all Microsoft Teams channels and chats using Microsoft Search API. Supports advanced KQL syntax for filtering by sender, mentions, attachments, and more.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| query | Yes | Search query. Supports KQL syntax like 'from:user mentions:userId hasAttachment:true' | |
| scope | No | Scope of search | all |
| limit | No | Number of results to return | |
| enableTopResults | No | Enable relevance-based ranking |