Update email flags
mail_flags_updateUpdate email flags to mark messages as read or unread, star or unstar them, and set answered or draft status. Only specified flags change, leaving others intact.
Instructions
Use this to mark a message read or unread, star or unstar it, or update answered and draft flags. Only explicitly provided fields change.
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": {
"messageId": "<messageId>"
},
"name": "mail_flags_update"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| read | No | ||
| draft | No | ||
| starred | No | ||
| answered | No | ||
| messageId | Yes |