drive_trash_files
Batch trash up to 100 Google Drive files or folders per call, requiring exact-name verification and confirmation; each item is processed independently so one refusal doesn't stop the others.
Instructions
Batch form of drive_trash_file for an accepted list: up to 100 {fileId, expectedName} items in one call, processed in order, one result row per item; a refused row (name mismatch, already in the trash, not found, no permission) never stops the others. Same guards as the single tool: expectedName must equal each file's current name, confirm: true is required to trash and without it the call only previews, and a folder needs confirmFolder: true. Trash only, restorable for 30 days; no permanent delete exists in this server.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| items | Yes | The rows to trash, each with its id and its exact current name. | |
| account | Yes | Configured Gmail account alias, e.g. work, personal, support. | |
| confirm | No | Must be true to trash. Omitted or false: previews every row and changes nothing. | |
| confirmFolder | No | Required in addition to confirm for rows that are folders; a folder row without it is refused, the others proceed. |