Archive emails
archive_emailsMove selected email messages out of the inbox and into the archive to clear inbox clutter while keeping them available for later retrieval.
Instructions
Move messages out of the inbox into the archive.
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": {
"messageIds": "<messageIds>"
},
"name": "archive_emails"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| accountId | No | Account to operate on. Optional when exactly one account is connected. | |
| messageIds | Yes | Messages to change, up to 100 IDs |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| data | Yes |