set_message_flag_status
Flag or unflag a specific Apple Mail message only after the user explicitly approves the exact action.
Instructions
Flag or unflag a message. Only call after the user explicitly approved this exact action.
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>",
"message_id": "<message_id>",
"user_approved": "<user_approved>",
"is_flagged": "<is_flagged>"
},
"name": "set_message_flag_status"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| account | Yes | Apple Mail account name. | |
| mailbox | No | Mailbox containing the message. | INBOX |
| is_flagged | Yes | True to flag; false to remove the flag. | |
| message_id | Yes | Message id returned by list_messages or search_messages. | |
| user_approved | Yes | Must be true only after the user explicitly approved this exact action. |