mail_mark_email_read
Mark one or more emails as read or unread by updating the $seen flag. Provide email IDs and optionally specify the read state to batch manage email status.
Instructions
Set or unset the $seen flag on one or more emails.
Args: email_ids: List of JMAP email IDs to update. read: True to mark as read, False to mark as unread (default 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": {
"email_ids": "<email_ids>"
},
"name": "mail_mark_email_read"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| email_ids | Yes | ||
| read | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |