unlabel_message
Remove labels from a single Gmail message to archive it, mark it read, or clear custom tags by specifying the message ID and label IDs.
Instructions
Remove labels from one message. Removing INBOX archives it; removing UNREAD marks it read.
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": {
"messageId": "<messageId>",
"labelIds": "<labelIds>"
},
"name": "unlabel_message"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| labelIds | Yes | ||
| messageId | Yes |