gws.drive.list_folder
List files and subfolders inside a Google Drive folder, returning IDs, names, MIME types, modified times, and sizes. Omit folderId to list the account's root directory.
Instructions
List the files and subfolders directly inside a Drive folder (non-recursive). Returns each item's file ID, name, MIME type, modified time, and size. Omit folderId to list the account's Drive root.
Tool call template
This tool declares no required parameters. Add optional parameters from the input schema as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {},
"name": "gws.drive.list_folder"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| account | No | Account label or email. Uses default if omitted. | |
| folderId | No | Folder ID (default: root) | |
| maxResults | No | Maximum files to return (default: 50) |