archive_chat
Archive or unarchive a Telegram chat by providing its chat ID. Set the archive flag to false to unarchive a chat.
Instructions
Archive or unarchive a chat
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>"
},
"name": "archive_chat"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| archive | No | ||
| chat_id | Yes |