Archive a message
mail_archiveArchives a message: out of the Inbox but kept (Gmail removes the Inbox label; others move it to the Archive folder). Use it to clear the Inbox during triage. Example: { "message_id": "msg_…" }.
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": "mail_archive"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| message_id | Yes | A message id (`msg_…`) from a list or search. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| message_id | Yes | The message's id after the move (it can change). |