add_label
Apply a ProtonMail label to an email by copying it into the Labels folder, enabling organization through Bridge.
Instructions
Add a ProtonMail label to an email (copies it into the Labels/ folder — that is how Bridge represents labels).
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": "add_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 | |||