Delete messages
mail_deleteMove up to 500 Outlook messages to Deleted Items for recoverable removal. Messages stay restorable and are not permanently deleted.
Instructions
Move one or more messages (up to 500 ids) to Deleted Items, where the user can restore them from Outlook (or with mail_search folder=deleteditems then mail_move; their id changes). Never deletes permanently: for that, use mail_purge, and only when the user explicitly asks for permanent deletion.
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": "mail_delete"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| ids | Yes | Message ids (1 to 500) |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| moved | No | ||
| failed | Yes | ||
| succeeded | Yes |