mark_all_read
Mark all unread messages in a folder as read, with an option to limit to messages older than a specific date. Preview affected count via dry run before applying.
Instructions
Mark all unread messages in a folder as read. Optionally limit to messages older than a given date. Pass dryRun: true to preview the affected count without flipping any flags.
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": "mark_all_read"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| folder | No | Folder to mark as read (default: INBOX) | INBOX |
| olderThan | No | Only mark messages before this date as read (YYYY-MM-DD, exclusive — messages strictly before this date) | |
| dryRun | No | Preview the count of unread messages that would be marked, without flipping any flags. |