Remove a label
remove_labelRemoves a label from a Proton Mail message while preserving its folder and other labels; only labels can be removed, never folders.
Instructions
Removes a label from a message. The message keeps its folder and its other labels, and does not go to trash. Only labels can be removed this way, never folders: a message always lives in some folder, and moving it is a different operation.
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>",
"label": "<label>"
},
"name": "remove_label"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| label | Yes | The label name, for example "Work". The "Labels/" prefix may be included and is optional. Use list_folders to see which labels exist. Labels are created in Proton itself, not here. | |
| messageId | Yes | The message id from a listing or a search, with or without angle brackets. |