unarchive_document
Restore (un-archive) a saved document by its id — the mirror of archive_document. The document
re-enters your Files view and can be opened/edited again (open it into a chat with open_documents).
document_id is the same id used by list_documents / archive_document. Idempotent: restoring an
already-active (or unknown) document is a no-op. Non-billable.
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": {
"document_id": "<document_id>"
},
"name": "unarchive_document"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| document_id | Yes |