mark_emails
Update email statuses by marking one or multiple emails as read, unread, flagged, or unflagged in a specified folder.
Instructions
Mark one or multiple emails as read, unread, flagged (starred), or unflagged.
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": {
"uids": "<uids>",
"action": "<action>"
},
"name": "mark_emails"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| uids | Yes | Array of email UIDs to update | |
| action | Yes | Flag update action to perform | |
| folder | No | Folder where emails reside | INBOX |