Actions20
List Files
AI-generatedSummary
List files in a given folder
Inputs
- folderId — Filter by folder (leave empty for root)
- scope — Scope of listing (empty for current folder only, 'all' to include subfolders)
Output shape
Array of file objects representing listed files
Result is returned as an array of items; each item contains a
jsonfield with parsed response. Empty folderId returns root contents; scope can limit to current folder only or include subfolders.
Examples
Example 1: List files in a specific folder
folderId: '12345', scope: 'all'
Example 2: List only the current folder
folderId: ''
Example 3: List subfolders including nested ones
scope: 'all'
