search_messages
Find message text and subjects across your Microsoft Teams conversations, filtering by date, limit, or conversation name to locate relevant chats and posts.
Instructions
Search message text and subjects across the user's Teams conversations.
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"query": "<query>"
},
"name": "search_messages"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| limit | No | Max matches to return (1-1000) | |
| query | Yes | Case-insensitive regex or plain text | |
| since | No | Start date, default 90 days ago | |
| conversation_match | No | Only conversations whose name contains this |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |