drive_list_folder
List the direct contents of a Google Drive folder—files, subfolders, and shortcuts—for My Drive or shared drives; omit folder ID to view My Drive root.
Instructions
List the direct children of a Google Drive folder, including folders, files, and shortcuts. Supports My Drive and shared drives. Omit folder_id_or_url to list My Drive's root.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| No | Google account email. May be omitted when exactly one account is configured; required when multiple accounts are configured. | ||
| drive_id | No | Optional shared drive ID; narrows the corpus for better performance | |
| order_by | No | Drive orderBy expression; default 'folder,name_natural' | |
| page_size | No | Default 100 | |
| page_token | No | ||
| folders_only | No | Default false | |
| name_contains | No | Optional case-insensitive name substring filter | |
| include_trashed | No | Default false | |
| folder_id_or_url | No | Default: My Drive root |