search_emails
Search archived Outlook for Mac email by keyword or meaning, with filters for sender, date, folder, and attachments; returns summaries and IDs for retrieving full messages and threads.
Instructions
Search archived emails. Returns summaries with an id for get_email/get_thread. freshness says how
current the archive is. If warning is present the archive may be missing newer mail: tell the user.
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 |
|---|---|---|---|
| mode | No | keyword: exact words (default). semantic: by meaning. hybrid: both, fused. semantic and hybrid need `new-outlook embed` to have been run | keyword |
| sort | No | relevance | |
| limit | No | ||
| query | No | Full-text query (SQLite FTS5 syntax: words, "phrases", OR, NOT, prefix*). Searches subject, sender, recipients and body. Omit to filter only. | |
| folder | No | Folder name contains this text | |
| offset | No | ||
| sender | No | From: sender name or address contains this text | |
| account | No | Account name contains this text | |
| date_to | No | Latest date, inclusive, YYYY-MM-DD or ISO 8601 (UTC) | |
| date_from | No | Earliest date, YYYY-MM-DD or ISO 8601 (UTC) | |
| recipient | No | To/Cc/Bcc contains this text | |
| sync_first | No | Import new mail from Outlook's local cache before searching; reported in `sync_first`. Takes a few seconds | |
| has_attachment | No | ||
| attachment_name | No | An attachment file name contains this text |