search_messages
Search across Microsoft Teams channels and chats using advanced KQL filters for sender, mentions, attachments, and more. Retrieve relevant messages with customizable scope and result limits.
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 |
---|---|---|---|
enableTopResults | No | Enable relevance-based ranking | |
limit | No | Number of results to return | |
query | Yes | Search query. Supports KQL syntax like 'from:user mentions:userId hasAttachment:true' | |
scope | No | Scope of search | all |