search_emails
Search Outlook emails using full-text queries for natural language search, or structured filters for precise matching on sender, subject, and date range.
Instructions
Search emails using full-text query OR structured filters (mutually exclusive). Use query for natural search, or structured filters for precise field matching.
Tool call template
This tool declares no required parameters. Add optional parameters from the input schema as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {},
"name": "search_emails"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| from | No | Filter by sender email address | |
| limit | No | Maximum results (default 20, max 500) | |
| query | No | Full-text search query (uses Exchange search index). Cannot be combined with structured filters. | |
| subject | No | Filter by subject (contains match) | |
| folderId | No | Scope search to a specific folder | |
| receivedAfter | No | ISO 8601 datetime — only messages received after this time | |
| receivedBefore | No | ISO 8601 datetime — only messages received before this time |