confirm_delete_folder
Confirm and execute deletion of an Outlook mail folder using a token from prepare_delete_folder. Permanently removes the folder and all its messages after validating the token and folder state.
Instructions
Confirm and execute deletion of a mail folder using a token from prepare_delete_folder. Permanently deletes the folder and all its messages. Returns a success message. Returns an error if the token is invalid, expired, already used, or if the folder has changed since the prepare step.
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": {
"token_id": "<token_id>",
"folder_id": "<folder_id>"
},
"name": "confirm_delete_folder"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| token_id | Yes | The approval token UUID from prepare_delete_folder (e.g., "a1b2c3d4-...") | |
| folder_id | Yes | The folder ID to delete — must match the ID used in the prepare step |