archive_extract
Extract stored archives such as ZIP, 7z, RAR, and TAR into a chosen folder, optionally selecting specific members or supplying a password. Returns a queued operation to track until complete.
Instructions
Extract an archive already in storage (zip, 7z, rar, tar, tar.gz, tar.bz2, tar.xz, …) into a folder on the server - its own folder unless dest says another - with password for a protected one (PASSWORD_REQUIRED when it needs one). members picks entries. Members under one of filex's own names are skipped; an encrypted archive cannot be opened (E2E_ENCRYPTED); into an encrypted folder only with allow_plaintext. It answers 202 with the queued operation ({op: {id, …}}): follow it with op_get {id} until its status is ok (or partial, failed, cancelled), stop it with op_cancel.
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": {
"path": "<path>"
},
"name": "archive_extract"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| dest | No | adapter:// folder to extract into, on the archive's storage (default: the archive's own folder) | |
| path | Yes | adapter:// path of the archive (zip, 7z, rar, tar, tar.gz, …) | |
| members | No | only these entries, by their name inside the archive (default: all) | |
| password | No | the archive's password, if it has one; never logged | |
| allow_plaintext | No | only when the destination is inside an end-to-end encrypted folder: extract there UNENCRYPTED on purpose |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes | the operation's JSON answer - the body its REST twin under /api/ai answers (an object) | |
| status | Yes |