Skip to main content

Find Drive items

Find files and folders by name, folder, type or a raw Drive query.

Command in the Google Workspace toolkit · id ooa.google/drive_find_items · 11 inputs (1 required), 2 outputs

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.
Name containsStringNoName contains this text.
Name equalsStringNoName is exactly this.
Folder IDStringNoOnly items directly inside this folder.
Item typeStringNoanyFiles, folders or both.
MIME typeStringNoOnly this MIME type.
Extra queryStringNoFurther Drive query terms joined with and.
Include trashedBooleanNofalseAlso return items in the trash.
Maximum resultsNumberNo1000Maximum items returned.
Endpoint addressStringNoReplaces https://*.googleapis.com for testing or a proxy; leave empty normally.
Folder pathStringNoOnly items directly inside the folder at this path under My Drive; used instead of folder_id.

Outputs​

OutputTypeWhat it is
tableTableColumns: id, name, mime_type, is_folder, size, modified, web_link.
countNumberNumber of items found.