drive_list_files
List files from any Google Drive folder or the My Drive root. Use a Shared Drive ID to see its top-level files.
Instructions
List files in a Google Drive folder. If no folderId is provided, lists files in the user's My Drive root. To list a Shared Drive's top level, pass the Shared Drive ID as folderId (discover IDs with drive_list_shared_drives).
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| folderId | No | Folder ID, or a Shared Drive ID for its top level (default: My Drive root) | |
| accountId | Yes | The Google account ID, alias, or email | |
| pageToken | No | Token for pagination | |
| maxResults | No | Maximum number of results (default: 20) |