move_thread
Move an entire email conversation to a selected folder using its RFC 5322 Message-ID. Keep related messages together by relocating the full thread in one action.
Instructions
Move all messages in a thread to a destination folder, identified by its RFC 5322 Message-ID header. Use when you have the raw Message-ID (e.g. from email headers) and want to move the full conversation. Prefer apply_thread_action with action 'move' when you have a local threadId from get_threads or get_actionable_threads.
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 | ||
| messageId | Yes | RFC 5322 Message-ID, e.g. <abc@mail.example.com>. | |
| destination | Yes | Destination folder. | |
| acrossFolders | No | Also search Sent and All Mail. |