remove_label
Remove a ProtonMail label from an email by Message-ID, deleting its copy from the Labels folder.
Instructions
Remove a ProtonMail label from an email (deletes its copy from the Labels/ folder, located by Message-ID).
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": {
"uid": "<uid>",
"label": "<label>"
},
"name": "remove_label"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| uid | Yes | ||
| label | Yes | ||
| account | No | default | |
| mailbox | No | INBOX |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||