sp_site_trash_list
List items in a SharePoint site's recycle bin, including name, size, deletion date, original folder, and who deleted them. Identify trashed files before restoration via the web UI.
Instructions
List items in the SharePoint site's recycle bin. Returns each item's id, name, size, deleted_date_time, deleted_from_location (original folder), and deleted_by (display name). Read-only. NOTE: Microsoft Graph does not expose a restore action at site scope; items currently have to be restored via the SharePoint web UI. This tool uses Graph's /beta endpoint — the site-level recycle-bin API has not yet been promoted to v1.0. Schema may shift; we'll migrate when v1.0 lands.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| limit | No | ||
| site_url | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |