List trash bin
nextcloud_list_trashList deleted files and folders in a Nextcloud trash bin, newest first, with original locations and optional name filtering. Use results to identify items for restoration.
Instructions
List deleted files and folders in the user's trash bin, newest first, with their original location. Restore one with nextcloud_restore_from_trash (needs write access) or in the Nextcloud web interface.
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": "nextcloud_list_trash"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| limit | No | ||
| query | No | Only items whose name contains this text (case-insensitive). | |
| response_format | No | 'markdown' for readable output, 'json' for structured data | markdown |