rename_folder
Change the display name of an existing email folder by specifying the account, folder ID, and new name, so you can reorganize mailbox labels without moving messages.
Instructions
Rename an existing mail folder.
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": {
"account": "<account>",
"folderId": "<folderId>",
"newName": "<newName>"
},
"name": "rename_folder"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| account | Yes | ||
| newName | Yes | New display name for the folder | |
| folderId | Yes | ID of the folder to rename |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| folder | Yes | ||
| renamed | Yes |