flag_message
Set or clear a colored flag on an Apple Mail message to mark, prioritize, or organize emails by status or urgency.
Instructions
Set or clear the flag color on a message.
Args: account, mailbox, id: As returned by search_messages. color: 0..6 sets a color; -1 clears the flag. 0 red · 1 orange · 2 yellow · 3 green · 4 blue · 5 purple · 6 gray
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": {
"account": "<account>",
"mailbox": "<mailbox>",
"id": "<id>",
"color": "<color>"
},
"name": "flag_message"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| id | Yes | ||
| color | Yes | ||
| account | Yes | ||
| mailbox | Yes |