archive_emails
Archive multiple emails by ID to remove them from the inbox while preserving them in All Mail or the archive folder; optionally specify an account or use auto-detection.
Instructions
Archive emails (remove from INBOX). Gmail: keeps in All Mail. Takes multiple IDs.
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": {
"email_ids": "<email_ids>"
},
"name": "archive_emails"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| account | No | Account (default: auto-detect). | |
| email_ids | Yes | Array of email IDs to archive. |