Unarchive conversations (two-step)
gmsg_unarchive_conversationsRestore archived Google Messages conversations via a two-step confirmation: verify selected archived names first, then confirm to unarchive them.
Instructions
Two-step unarchive, operating from the Archived view (drawer > Archived dialog, which lists names only, no ids). Only ids archived through gmsg_archive_conversations are known (remembered by name in ~/.google-messages-mcp/archived-map.json); unknown ids fail with NOT_FOUND. Call 1 (no confirm_token): verifies each name is present in the archived list and returns {count, targets} plus a 5-minute single-use confirm_token bound to the sorted id list; nothing changes. Call 2 with the same conversation_ids and token: unarchives each, returns {unarchived:[ids], failed:[{id,reason}]}.
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": {
"conversation_ids": "<conversation_ids>"
},
"name": "gmsg_unarchive_conversations"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| confirm_token | No | ||
| conversation_ids | Yes |