Rename Folder
renameFolderRename a Thunderbird mail folder in place to change its name without moving it. Special folders and folders containing one are refused; on IMAP, check listFolders later to confirm completion.
Instructions
Rename a mail folder in place; to put it under another parent, use moveFolder. Special folders (Inbox, Trash, Drafts...) and folders holding one are refused. On IMAP the server finishes later: check with listFolders.
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": {
"folderPath": "<folderPath>",
"newName": "<newName>"
},
"name": "renameFolder"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| newName | Yes | New name for the folder | |
| folderPath | Yes | URI of the folder to rename (from listFolders) |