Archive thread
archive_threadArchive a Discord thread, with the option to lock it so only moderators can unarchive it.
Instructions
Archive a thread, optionally locking it so only moderators can unarchive it.
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": {
"thread": "<thread>"
},
"name": "archive_thread"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| lock | No | Also lock the thread. Defaults to false. | |
| server | No | Server (guild) name or id. Optional when the bot is in a single server or DISCORD_GUILD_ID is set. | |
| thread | Yes | Thread to archive (name or id). |