mark_read
Marks up to 100 messages as read or unread by ID, opening Mail hidden in the background when needed.
Instructions
Mark messages (at most 100) as read or unread. If Mail is not running, applesauce opens it hidden in the background and leaves it open.
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"ids": "<ids>",
"read": "<read>"
},
"name": "mark_read"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| ids | Yes | Message ids from search_mail. At most 100. | |
| read | Yes | true for read, false for unread. | |
| in_account | No | Account id of the message (the 'account_id' field of search_mail). Only needed with 'in_mailbox'. | |
| in_mailbox | No | Mailbox path of the message (the 'mailbox' field of search_mail). Only needed when Full Disk Access is missing. Give 'in_account' too. |