gmail_archive
Archive a Gmail message by removing it from the inbox, while keeping it searchable in All Mail.
Instructions
Archive a Gmail message by removing it from INBOX. The message remains in All Mail and can still be found via search. Requires full scope.
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": {
"accountId": "<accountId>",
"messageId": "<messageId>"
},
"name": "gmail_archive"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| accountId | Yes | The Google account ID, alias, or email | |
| messageId | Yes | The message ID to archive |