List trash
drive_list_trashList files and folders in the Proton Drive trash with pagination, returning metadata like names, paths, sizes, and unique IDs to identify items for restoration or deletion.
Instructions
List all files and folders in the Proton Drive trash. Returns {items, total, offset, limit, hasMore} (default limit 100, newest first, ties by uid); items are [{name, path, type, size?, storageSize?, modifiedAt?, uid, trashedAt?}]. Items come in a stable sorted order; each page is a fresh read, so changes between page calls can still shift items. Names are NOT unique in trash — uid and trashedAt tell duplicates apart. drive_restore/drive_delete accept the uid but refuse when the name is shared (the CLI cannot target one duplicate).
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| limit | No | Max items to return (default 100). | |
| offset | No | Number of items to skip (default 0). |