Unarchive a thread
unarchive_threadBring an archived Thread back to the active list, in the Folder it was in, so Notes can be added and changed there again; the inverse of archive_thread. Find archived Threads with list_threads, state "archived"; a Thread in Trash answers entity_deleted: use restore_thread. Needs Can edit and organize; expected_revision is not compared. Answers a receipt with the new revision and url.
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": {
"operation_id": "<operation_id>",
"thread_id": "<thread_id>",
"expected_revision": "<expected_revision>"
},
"name": "unarchive_thread"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| thread_id | Yes | A Thread's id, from list_threads, search or a read. | |
| operation_id | Yes | A new UUID for each write. After a lost answer, send the identical call with the same one, or check get_operation before writing again. | |
| expected_revision | Yes | Its revision from list_threads, get_thread, list_folders or get_note (not a content_revision); not compared. |