mail_search
Search iCloud Mail for matching messages by text, sender, recipient, subject, date, or mailbox, and return the newest matching headers. Filter results by unread or flagged status.
Instructions
Search mail and return the newest matching message headers.
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": "mail_search"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| text | No | ||
| limit | No | ||
| since | No | ||
| before | No | ||
| sender | No | ||
| mailbox | No | INBOX | |
| subject | No | ||
| recipient | No | ||
| unread_only | No | ||
| flagged_only | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||