rename_folder
Rename ProtonMail email folders or labels by providing the current and new paths with Folders/ or Labels/ prefixes.
Instructions
✏️ Rename an email folder or label. Works with 'Folders/' or 'Labels/' prefixes
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": {
"oldName": "<oldName>",
"newName": "<newName>"
},
"name": "rename_folder"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| newName | Yes | New folder path (e.g., 'Folders/NewName' or 'Labels/NewLabel') | |
| oldName | Yes | Current folder path (e.g., 'Folders/OldName' or 'Labels/OldLabel') |