Mark a message read or unread
mark_messageSet a received email as read or unread to track your inbox or return it to your to-do pile; only changes the read flag and sends nothing.
Instructions
Mark a received message as read or unread, e.g. to put it back on your to-do pile after reading it with read_message. Only changes the read flag on the mail server; nothing is sent. Returns { ok: true }.
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": {
"id": "<id>",
"unread": "<unread>"
},
"name": "mark_message"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| id | Yes | Message id from list_messages | |
| unread | Yes | true: mark as unread; false: mark as read |