Mark read / unread
mark_readSet or clear the Seen flag on an email to mark it as read or unread. Use message UID to update status in a specified folder.
Instructions
Set or clear the \Seen flag on a message.
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": {
"uid": "<uid>"
},
"name": "mark_read"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| uid | Yes | Message uid as returned by list_emails / search_emails (IMAP UID, or POP3 UIDL) | |
| read | No | ||
| folder | No | Mailbox folder (IMAP). POP3 only supports INBOX. | INBOX |