list_archive
Browse the contents of ZIP, 7z, RAR, or TAR archives on your cloud drive without downloading them, one directory at a time. Retry shortly if status is PENDING.
Instructions
List what is inside an archive file (.zip, .7z, .rar, .tar, .tar.gz, .tar.bz2, .tar.xz) without downloading it, one directory at a time. status PENDING means the server is still reading it; retry shortly.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| dir | No | directory inside the archive, e.g. docs/2024; empty for the top level | |
| path | No | absolute Gopan path of the archive, alternative to node_id | |
| cursor | No | ||
| node_id | No | archive file node UUID (.zip, .7z, .rar, .tar, .tar.gz, .tar.bz2, .tar.xz) |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| error | No | ||
| total | Yes | entries in this directory | |
| format | Yes | ||
| status | Yes | PENDING (still reading, retry shortly), DONE, TRUNCATED (only part listed), UNSUPPORTED or FAILED | |
| entries | Yes | ||
| file_count | Yes | ||
| total_size | Yes | uncompressed bytes of all files | |
| next_cursor | No |