Put a document away, or bring it back
archive_docPut a document or one page away when the person asks, or bring it back with archived false; nothing is deleted or changed («delete it» is flag_doc).
Instructions
Put a document or one page away when the person asks, or bring it back with archived false; nothing is deleted or changed («delete it» is flag_doc). A page put away stays under its document, read-only; a document's pages go and come back with 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": {
"doc": "<doc>"
},
"name": "archive_doc"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| doc | Yes | The document's id from `docs`, not its title | |
| folder | No | A folder to file it in on the way, by name, path or id | |
| archived | No | True, the default, puts it away |