move_email
Archive, move (INBOX/ARCHIVE/TRASH/SPAM) or mark read/unread Email Assistant messages, exactly like the Email Assistant buttons (updates QuailOS and mirrors to the IMAP mailbox when the message came from an IMAP account). Nothing is permanently deleted. Owner/admin read/write AI keys only.
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": {
"farmId": "<farmId>",
"action": "<action>"
},
"name": "move_email"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| action | Yes | archive | move (needs folder) | mark_read | mark_unread | |
| farmId | Yes | The unique farm ID | |
| folder | No | Target folder for action "move" | |
| emailId | No | Single message id | |
| emailIds | No | Message ids (1-50). Or use emailId for one. |