List recycle bin contents
zspace_recycle_listList what is currently in a recycle bin, including each item's original location.
Instructions
List what is currently in a recycle bin, including each item's original location.
Always call this before zspace_recycle_empty -- emptying purges every item in the bin, including files deleted earlier by other means, and is irreversible. The personal and public bins are separate stores; files deleted from //my/data land in the personal one.
The listing triggers a server-side scan and this call waits for it to
settle, so an in-progress scan is not mistaken for an empty bin. Returns
{bin, total, items: [{name, path, original_path, is_dir, bytes}]}. The
path is the in-bin location and is what zspace_recycle_restore and
zspace_recycle_purge need. Read-only.
Naming: this tool reaches the bin through the API, where it is "/.recycle/my". The same bin is visible on an SMB mount as a directory called "@Recycle" at the share root (plus a ".zspace_trash" variant), which is outside //my/data and therefore not readable through the file API at all. If you are also running scripts against a mounted path -- the skills/ scanners do exactly that -- they must skip "@Recycle", or recycled files get counted as live data. That miscount raises no error, it just quietly inflates totals; it survived in 8 of the 9 scanners before being caught. Do not try to list "@Recycle" through this API to cross-check: it returns N001411 for every path outside my/data whether or not it exists, so that response tells you nothing.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| limit | No | Maximum items to return | |
| public | No | True for the shared/family bin, False for the personal one |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||