rename_folder
Rename an existing email folder by specifying its current name and a new name; inbox and special folders cannot be renamed.
Instructions
Rename a folder. The inbox and the special folders (Sent, Drafts, Trash, Junk, Archive) cannot be renamed.
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": {
"name": "<name>",
"new_name": "<new_name>"
},
"name": "rename_folder"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| name | Yes | Existing folder name. | |
| new_name | Yes | New name for the folder. |