Remove labels from a message
unlabel_messageRemove one or more labels from a single Gmail message to keep your labels organized and your inbox tidy.
Instructions
Remove one or more labels from a single Gmail message.
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": "<account>",
"messageId": "<messageId>",
"labelIds": "<labelIds>"
},
"name": "unlabel_message"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| account | Yes | The Gmail address to operate on. Must be one of the accounts returned by list_accounts. If you don't know which account to use, call list_accounts first and ask the user if ambiguous. | |
| labelIds | Yes | Gmail label IDs (from list_labels), e.g. ['INBOX', 'Label_12345']. | |
| messageId | Yes | The Gmail message ID. |