Rename mailbox
rename_mailboxRename an existing email mailbox or folder by specifying the account, current path, and new path.
Instructions
Rename an existing mailbox (folder). Use list_mailboxes to see current folder paths.
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>",
"path": "<path>",
"new_path": "<new_path>"
},
"name": "rename_mailbox"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| path | Yes | Current folder path | |
| account | Yes | Account name from list_accounts | |
| new_path | Yes | New folder path |