icloud_search_messages
Search an iCloud mailbox and return message summaries newest first, with filters for text, sender, subject, recipients, dates, unseen and flagged status. Use paging to navigate results.
Instructions
Search one mailbox and return message summaries (newest first) with uid, sender, subject, date and flags.
With no filters it lists the most recent messages. Use offset/has_more to page.
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": "icloud_search_messages"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| text | No | Substring anywhere in headers or body. | |
| limit | No | ||
| since | No | On or after this date, YYYY-MM-DD. | |
| before | No | Before this date, YYYY-MM-DD. | |
| offset | No | ||
| mailbox | No | Mailbox name, e.g. 'INBOX', 'Archive', 'Sent Messages'. See icloud_list_mailboxes. | INBOX |
| subject | No | Substring of the subject. | |
| to_address | No | Substring of the To header. | |
| unseen_only | No | ||
| flagged_only | No | ||
| from_address | No | Substring of the From header. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||