trash_list
Lists recoverable deleted files and folders in trash, including original paths, sizes, deletion times, and storage summaries, with pagination and optional storage filtering.
Instructions
List what you can bring back from the trash: {entries: [{id, path (where it was), name, size, deleted_at, deleted_by_self, …}], total, total_bytes, storages: [{storage_name, count, bytes, newest_deleted_at}], summary, limit, offset}. total and total_bytes count every entry, not the page; summary says it in your language. Only entries you could see where they were, inside your root.
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": "trash_list"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| limit | No | page size (default 50, at most 500) | |
| offset | No | entries to skip (total says how many there are) | |
| storage | No | only this storage's trash (its adapter name); empty = every storage you can reach |
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 |