empty_folder
Permanently delete all messages in Outlook's Junk Email or Deleted Items folder, leaving subfolders untouched. Requires a matching message count to confirm; deletion cannot be undone.
Instructions
Permanently delete everything in Junk or Deleted Items, like Outlook's "Empty folder". Cannot be undone. Subfolders are left alone.
folder: junkemail or deleteditems.
confirm_count: must equal the folder's current message count. Call without it
first to get the count, and show it to the user.
Deletes at most 1000 per call; if remaining is above zero, call again.
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": "<folder>"
},
"name": "empty_folder"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| folder | Yes | ||
| confirm_count | No |