App Logo
drive.google.com

Download a Google Drive file

Download one Drive file by id to the device. Binary files (PDFs, images, video, Office documents) download as stored; Google-native Docs, Sheets and Slides are converted on the way out, so pass format to choose pdf, docx, xlsx, csv and the rest. Returns the saved filename and location. For a whole folder, list it first and call this once per file.

Input

fileId required

Drive file id, or any full Drive/Docs URL containing it.

gid optional

Tab gid, for csv/tsv exports of a Google Sheet. Defaults to the first tab.

format optional

Export format, for Google-native Docs/Sheets/Slides only. Defaults to pdf for documents and presentations, xlsx for spreadsheets. Ignored for files already stored as bytes.

Output

kind required

How the file was fetched: stored bytes, or a converted export.

fileId required
filename required

The saved file's real name.

url optional

Set instead of path on cloud browsers.

path optional

Location on the machine running the browser. Null on cloud browsers, where url is set instead.

format optional

The export format used, for Google-native files.

formatIgnored optional

True when a format was passed for a file stored as bytes, which downloads as-is.

FAQ

Download one Drive file by id to the device. Binary files (PDFs, images, video, Office documents) download as stored; Google-native Docs, Sheets and Slides are converted on the way out, so pass format to choose pdf, docx, xlsx, csv and the rest. Returns the saved filename and location. For a whole folder, list it first and call this once per file.
Required: fileId. Optional: gid, format.
It returns url, kind, path, fileId, format, filename, formatIgnored.
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 only reads. It looks things up on drive.google.com and changes nothing there.
Ask an AI agent connected to Reduck to run reduck/drive.google.com/download_file, or run it from a terminal with the Reduck CLI: npx @reduck-ai/cli@latest run --script reduck/drive.google.com/download_file
It is part of Reduck's official curated catalogue.

Start building not clicking