Mark a folder read
folder_mark_readMark all messages in a folder as read, optionally including subfolders. Confirmation required to avoid accidental changes on IMAP.
Instructions
Mark every message in a folder as read.
There is no per-message undo for this, which is why it asks first. On IMAP the flags are pushed to the server.
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": {
"folder_id": "<folder_id>"
},
"name": "folder_mark_read"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| confirm | No | ||
| folder_id | Yes | ||
| include_subfolders | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||