rename_label
Rename a Proton label to a new name, keeping all assigned messages under the updated label. Change label names without affecting message organization.
Instructions
Rename a Proton label (IMAP folder under Labels/ namespace). Messages keep the label, just under the new name. For renaming a folder use rename_folder with a Folders/ prefix.
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": {
"name": "<name>",
"newName": "<newName>"
},
"name": "rename_label"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| name | Yes | Existing label name. The Labels/ prefix is optional and will be added automatically. | |
| newName | Yes | New label name. The Labels/ prefix is optional and will be added automatically. |