add_labels
Attach new labels to an email while keeping existing ones intact. Provide the email ID and mailbox IDs to update labels without losing current assignments.
Instructions
Add labels (mailboxes) to an email without removing existing ones
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": "add_labels"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| emailId | Yes | ID of the email to add labels to | |
| mailboxIds | Yes | Array of mailbox IDs to add as labels |