move_folder
Move a mail folder to a different parent folder. Specify the folder ID and target parent folder ID.
Instructions
Move a mail folder to a different parent folder.
Args: folder_id: The Exchange folder ID to move (from get_folders). target_parent_folder_id: Destination parent folder. Defaults to "msgfolderroot" (top-level). Can be a distinguished folder name or a raw folder ID.
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>"
},
"name": "move_folder"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| folder_id | Yes | ||
| target_parent_folder_id | No | msgfolderroot |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |