delete_messages
Move messages by ID to Deleted Items so they can be recovered later. Use this for the default delete action and require a matching confirm_count before moving the listed IDs.
Instructions
Move messages by id to Deleted Items. Recoverable from there, so this is the default kind of delete; permanently_delete_messages is only for an explicit purge.
confirm_count: must equal the number of ids; call without it first and show the user the list. Returns new_message_ids for the moved copies.
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": {
"message_ids": "<message_ids>"
},
"name": "delete_messages"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| message_ids | Yes | ||
| confirm_count | No |