Archive conversations (two-step)
gmsg_archive_conversationsArchive Google Messages conversations safely with a two-step confirmation flow, targeting specific conversation IDs or every chat in the inbox; archived chats remain recoverable.
Instructions
Two-step archive. Call 1 (no confirm_token): resolves targets (conversation_ids, or all_in_inbox=true which scrolls the whole inbox) and returns {count, targets:[{conversation_id,name}]} plus a confirm_token valid 5 minutes, single use, bound to the sorted id list; NOTHING is archived. Call 2 with the same selector (same conversation_ids, or all_in_inbox=true) and the token: archives each conversation one by one via its item menu and returns {archived:[ids], failed:[{id,reason}]}; a per-item failure never aborts the batch. Archived conversations are recoverable with gmsg_unarchive_conversations.
Tool call template
This tool declares no required parameters. Add optional parameters from the input schema as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {},
"name": "gmsg_archive_conversations"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| all_in_inbox | No | Every conversation currently in the inbox. | |
| confirm_token | No | ||
| conversation_ids | No | Specific conversations. Exactly one of conversation_ids / all_in_inbox. |