move_email
Move an email to a specified folder, such as Inbox, Drafts, or Archive. Returns the moved message with its updated ID for tracking.
Instructions
Move a message to a different folder. Returns the moved message (with updated ID).
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>",
"destinationId": "<destinationId>"
},
"name": "move_email"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| messageId | Yes | Message ID | |
| destinationId | Yes | Destination folder ID or well-known name (Inbox, Drafts, SentItems, DeletedItems, Archive) |