search_files
Search orphaned Outlook Files cache entries—attachments and message bodies no longer tied to archived mail—by full-text query, kind, and file date; read hits via attachment_id.
Instructions
Search files in Outlook's Files/ cache that belong to no archived message (attachments and bodies
of mail that has left the cache). Read one with get_attachment using its attachment_id ('orphan:').
Dates are file dates, not send dates. Use search_emails for mail itself.
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_files"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| kind | No | attachment: attachment files; body: cached message bodies | |
| limit | No | ||
| query | No | Full-text query (FTS5 syntax) over file name and text. Omit to list the newest files. | |
| offset | No | ||
| date_to | No | Latest file date, inclusive | |
| date_from | No | Earliest file date, YYYY-MM-DD or ISO 8601 (UTC) |