mail_archive
Move an email to its account's Archive mailbox by Message-ID or .emlx path. Use dry_run to preview the change before confirming.
Instructions
Move an email to its account's Archive mailbox.
Tool call template
This tool declares no required parameters. Add optional parameters from the input schema as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {},
"name": "mail_archive"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| confirm | No | Required for deletes and multi-recipient sends; without it the call only previews | |
| dry_run | No | Preview only: report what would happen and change nothing (default false) | |
| file_path | No | Alternative to message_id: the .emlx file_path from mail_search, resolved to its Message-ID | |
| message_id | No | RFC822 Message-ID of the email (from mail_search / mail_read results) |