hermosodocs

list_drive_files

List Google Drive files read-only

Area: PULL A WHOLE CLOUD FOLDER INTO THE LIBRARY · Workspace & account. Generated from the running MCP server, like the rest of the tool reference.

Description

List the Google Drive files & folders Hermoso can reach: the ones it created plus any the user picked with the Google file picker in the app (drive.file, never their whole Drive). This is how you find a picked file's id. Filter by query (name contains …), folderId, or onlyFolders:true; paginate with pageToken. Read-only. A FOLDER: picking a folder hands over the folder alone, not its files, so a folder can list empty or partly; the reply then carries `pickUrl`, an app link that opens the picker inside that folder (Cmd+A / Ctrl+A selects every file and subfolder). Give the user that exact link, then list again. recursive:true walks every subfolder Hermoso can see (each row has its `path`) and reports picked files whose folder it cannot see.

Parameters

ParameterTypeDescription
querystringonly files whose name contains this
folderIdstringlist the contents of this folder id
recursivebooleanwith folderId: the whole tree
onlyFoldersbooleanlist folders only
pageSizenumberrows per page (1–200, default 50)
pageTokenstringcursor from a previous call
includeTrashedbooleaninclude trashed files (default false)

Example call

Every required parameter is shown, filled from the schema where it gives a value and otherwise with a placeholder naming the type. Replace the placeholders with real values. The same call works on the MCP server, the CLI and POST https://app.hermoso.ai/v1/tools/list_drive_files.

MCP (tools/call)

{"jsonrpc":"2.0","id":1,"method":"tools/call","params":{"name":"list_drive_files","arguments":{}}}

CLI

hermoso call list_drive_files --json '{}'

Credits

Credits are spent only on two things: running an AI model (image, video, voice, text, planning, post-production) and Ad Spy research. See Credits & costs.

All 143 Workspace & account tools · tools.json