move_email
Move an email between folders by message ID, from a source folder (default INBOX) to a target folder (default Trash).
Instructions
Move an email from one folder to another.
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": {
"message_id": "<message_id>"
},
"name": "move_email"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| message_id | Yes | The ID of the email to move. | |
| source_folder | No | Folder where the email is currently located (default: 'INBOX'). | INBOX |
| target_folder | No | Destination folder name (e.g. 'Trash', 'Archive', 'Drafts'). | Trash |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |