set_star
Set the starred flag on an email message in a specified mailbox, using account ID, UID validity, and UID to target the correct message. Idempotent operation ensures consistent state.
Instructions
Set one starred state idempotently.
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_id": "<account_id>",
"mailbox": "<mailbox>",
"uid_validity": "<uid_validity>",
"uid": "<uid>",
"starred": "<starred>"
},
"name": "set_star"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| uid | Yes | ||
| mailbox | Yes | ||
| starred | Yes | ||
| account_id | Yes | ||
| uid_validity | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| state | Yes | ||
| changed | Yes | ||
| enabled | Yes | ||
| identity | Yes | ||
| new_flags | Yes | ||
| old_flags | Yes |