file_archive
Archive a shared file (excluded from active lists) and clean up its bucket mirror (if published).
Archived files are retained with full version history for audit; the public
/s/{share_token} route returns 404 for an archived file.
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": {
"file_id": "<file_id>"
},
"name": "file_archive"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| file_id | Yes | File UUID to archive |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||