Delete messages
delete_messagesDelete one or more Outlook messages by ID, moving them to Deleted Items by default or permanently removing them when requested; permanent deletion cannot be undone.
Instructions
Delete messages. By default they are moved to Deleted Items (recoverable); permanent deletion cannot be undone.
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": {
"ids": "<ids>"
},
"name": "delete_messages"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| ids | Yes | Message IDs (from list_messages, search_messages or get_message) | |
| permanent | No | Permanently delete (default false) |