rename_mailbox
Rename an existing iCloud Mail mailbox or folder by specifying the current and new mailbox paths to reorganize your email structure.
Instructions
Rename an existing mailbox/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": {
"oldName": "<oldName>",
"newName": "<newName>"
},
"name": "rename_mailbox"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| newName | Yes | New mailbox path | |
| oldName | Yes | Current mailbox path |