Skip to main content

Get Drive item info

Read the details of a file or folder: name, type, size, dates, owners, parents and link.

Command in the Google Workspace toolkit · id ooa.google/drive_get_file_info · 3 inputs (2 required), 1 output

Inputs​

InputTypeRequiredDefaultWhat it is
Access tokenCredentialYesGoogle OAuth access token from the vault; or leave it empty and choose a connection that signs in, which gets and renews the token.
Item IDStringYesFile or folder id. A path under My Drive starting with / also works, e.g. /Reports/2026/summary.pdf.
Endpoint addressStringNoReplaces https://*.googleapis.com for testing or a proxy; leave empty normally.

Outputs​

OutputTypeWhat it is
infoDictionaryid, name, mime_type, is_folder, size, created, modified, parents, web_link, owners, trashed.