flag_email
Set or clear a flag on an email message. Provide the message reference and a boolean to indicate whether to flag or unflag.
Instructions
Set or clear the flag on an email.
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_ref": "<message_ref>",
"flagged": "<flagged>"
},
"name": "flag_email"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| flagged | Yes | True to flag the message, false to unflag it. | |
| message_ref | Yes | Composite message reference from list_emails or search_emails. |