update_message
Change an email’s read/unread or flag status, or move it to another folder using its message ID.
Instructions
Update an email's read/unread status, flag status, or move it to another folder.
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": {
"message_id": "<message_id>"
},
"name": "update_message"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| compact | No | Default true. Set false to include full moved message fields (no attachment bytes) | |
| flagged | No | ||
| is_read | No | ||
| message_id | Yes | ||
| move_to_folder | No | Alias for destination_folder | |
| destination_folder | No | Target folder name, alias (e.g. 'archive'), or ID | |
| destination_folder_id | No | Alias for destination_folder |