List trashed media
list_trashed_mediaList trashed media files newest first, showing deletion and expiry dates to identify items for restore before permanent deletion.
Instructions
List the media trash, newest first. Each file shows when it was deleted and when it expires; after that it is deleted permanently. A file with isPurging true is being deleted and cannot be restored. Restore with restore_media. Paginated: while hasMore is true, pass nextCursor back as cursor while it is set; if hasMore is true but nextCursor is null, page with the offset instead, and past offset 10000 narrow the filter.
Tool call template
This tool declares no required parameters. Add optional parameters from the input schema as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {},
"name": "list_trashed_media"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| limit | No | How many files to return, at most 100 | |
| cursor | No | nextCursor from the previous page. The page continues after it in the same filter and sort; leave the skip/offset at 0 when you pass it | |
| offset | No | How many rows to skip, at most 10000; page past that with cursor |