manage_messages
Move, trash, mark read/unread, or flag up to 50 messages with two-phase preview for destructive actions; trash moves to deleted folder without permanent deletion.
Instructions
Move, trash, mark read/unread or flag/unflag up to 50 messages. mark/flag run immediately (reversible). move/trash are two-phase like send_email: preview + human approval (elicitation or confirmation_token). trash moves to 已删除; nothing is ever permanently deleted.
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>",
"action": "<action>"
},
"name": "manage_messages"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| ids | Yes | Message ids (≤50). | |
| action | Yes | ||
| target_folder | No | For move: folder name/role. | |
| confirmation_token | No |