set_chat_archived
Archive (or unarchive) one AccountHub chat — a one-to-one chat or a group chat (a shared project) — in your own chat list. Archiving only hides it from YOUR list; nobody else is told, and it comes back on its own when a new message arrives. It does not leave the group.
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": {
"chat_id": "<chat_id>",
"archived": "<archived>"
},
"name": "set_chat_archived"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| chat_id | Yes | The chat to archive or unarchive (chat_id from list_unread_chats / read_chat, or a project_id from list_shared_projects). | |
| archived | Yes | true = archive (hide from your chat list until a new message arrives), false = put it back. |