mailkite_set_mailbox_message_flags
Replace a message's IMAP flags, such as marking it Seen, using the mailbox address and message UID.
Instructions
Replace a message's IMAP flags (e.g. mark it Seen). Flags set here are the same ones an IMAP client sees. Requires a management session token.
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": {
"uid": "<uid>",
"address": "<address>",
"flags": "<flags>"
},
"name": "mailkite_set_mailbox_message_flags"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| uid | Yes | Path parameter `uid`. | |
| flags | Yes | The complete flag set to store, space-separated and WITHOUT leading backslashes (e.g. `Seen Flagged`). This replaces the message's flags rather than merging. | |
| address | Yes | Query parameter `address`. |