rename_mailbox
Rename an existing mailbox (folder) to a new name. Provide the mailbox ID and new name.
Instructions
Rename an existing mailbox (folder). Use list_mailboxes to find the mailbox ID.
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": {
"mailboxId": "<mailboxId>",
"newName": "<newName>"
},
"name": "rename_mailbox"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| newName | Yes | The new name for the mailbox | |
| mailboxId | Yes | The mailbox ID to rename |