remove_labels
Remove specified labels from an email using its ID and the mailbox IDs to detach. This helps clean up message categorization by removing selected labels.
Instructions
Remove specific labels (mailboxes) from 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": {
"emailId": "<emailId>",
"mailboxIds": "<mailboxIds>"
},
"name": "remove_labels"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| emailId | Yes | ID of the email to remove labels from | |
| mailboxIds | Yes | Array of mailbox IDs to remove as labels |