App Logo
drive.google.com

Move a Google Drive file to the Bin

Moves a file to Drive's Bin (never a permanent delete), given just the file's id — its parent folder is resolved automatically.

Input

fileId required

Drive file id to trash, i.e. the <id> in drive.google.com/file/d/<id>/view.

Output

fileId required
trashed required

FAQ

Moves a file to Drive's Bin (never a permanent delete), given just the file's id — its parent folder is resolved automatically.
Required: fileId.
It returns fileId, trashed.
Yes. It acts as you on drive.google.com: on your own Chrome it reuses your session, and on a Reduck-hosted browser it loads the drive.google.com cookies saved by the Reduck extension.
It makes changes on drive.google.com, like sending, posting or booking something.
Ask an AI agent connected to Reduck to run reduck/drive.google.com/trash_file, or run it from a terminal with the Reduck CLI: npx @reduck-ai/cli@latest run --script reduck/drive.google.com/trash_file
It is part of Reduck's official curated catalogue.

Start building not clicking