Archive a cluster
archive_clusterArchive a whole cluster's conversations. THIS MOVES REAL MAIL: every message in them is queued to move out of the user's INBOX into the account's archive folder. One exception, and it is the one to check for: if the cluster is PINNED, this does not archive anything at all - it settles the pin back to resting, leaves the mail in the inbox and queues no move. The reply says which happened in its result field: archived when mail was filed, pin_cleared when a pinned cluster was settled instead, already_archived when the cluster is there but nothing in it could be filed - everything already archived, or not yet extracted, and nothing_to_archive when the key and category match no conversations at all. Read it rather than assuming the call did what its name says, and archived_conversations counts how many were filed. Takes a cluster_key and category exactly as list_feed reported them. Prefer asking the user first: this moves every message in the cluster.
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": {
"cluster_key": "<cluster_key>",
"category": "<category>"
},
"name": "archive_cluster"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| category | Yes | The category list_feed reported for this cluster. | |
| cluster_key | Yes | The cluster key from list_feed. |