rename_folder
Renames an existing email folder by its ID. Provide the folder ID and the new name for the folder.
Instructions
Rename an existing mail folder.
Args: folder_id: The Exchange folder ID to rename (from get_folders). new_name: New display name for the folder.
Returns: JSON object with success status and new folder 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": {
"folder_id": "<folder_id>",
"new_name": "<new_name>"
},
"name": "rename_folder"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| folder_id | Yes | ||
| new_name | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |