remove_labels
Remove specific mailbox labels from an email while preserving all other mailbox assignments.
Instructions
Remove one or more mailbox labels from an email while preserving any other mailbox assignments.
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": {
"emailId": "<emailId>",
"mailboxIds": "<mailboxIds>"
},
"name": "remove_labels"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| emailId | Yes | The email ID to update | |
| mailboxIds | Yes | Mailbox IDs to remove as labels |