Move thread
move_threadMove every message in an email thread to a destination folder. Use it to relocate a full reply chain at once, with optional cross-folder walking and a dry-run preview of affected UIDs.
Instructions
Move every message in a thread to a destination folder. By default acts only in the seed message's folder; pass acrossFolders:true to walk INBOX/Sent/All Mail. dryRun:true previews the affected per-folder UIDs without moving.
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": {
"messageId": "<messageId>",
"destination": "<destination>"
},
"name": "move_thread"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| dryRun | No | When true, preview the affected per-folder UIDs without moving anything. | |
| messageId | Yes | RFC 5322 Message-ID of any message in the thread (e.g. `<abc@example.com>`); the whole reply chain is resolved from it. | |
| destination | Yes | Destination folder path to move the entire thread into (must already exist). | |
| acrossFolders | No | When false (default), act only within the seed message's folder. When true, walk INBOX + Sent + All Mail so the whole conversation moves across folders. |