Delete mail folder
delete_mail_folderDelete a mail folder. WARNING: this deletes the messages inside it too — Outlook does not unfile them first. Move anything worth keeping out beforehand, and ask the user to confirm before calling this.
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": {
"mailbox": "<mailbox>",
"folderId": "<folderId>"
},
"name": "delete_mail_folder"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| mailbox | Yes | Email address of the connected Outlook/Microsoft 365 mailbox to act on. Call list_authorized_mailboxes to see available options. | |
| folderId | Yes |