mail_set_flags
Set or clear the read and flagged status of specific messages by mailbox and UID list. Use it to mark emails as seen or unflagged during inbox triage.
Instructions
Set or clear the read and flagged status of messages.
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": {
"mailbox": "<mailbox>",
"uids": "<uids>"
},
"name": "mail_set_flags"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| seen | No | ||
| uids | Yes | ||
| flagged | No | ||
| mailbox | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||