list_onedrive_files
List OneDrive files read-only
Description
List files & folders in the user’s OneDrive — the root by default, a folder’s contents (folderId), or a name search (query). onlyFolders:true lists folders only. Paginate with pageToken (the cursor from a previous call). Read-only.
Parameters
| Parameter | Type | Description |
|---|---|---|
query | string | search — only items whose name matches this |
folderId | string | list the contents of this folder id |
onlyFolders | boolean | list folders only |
pageSize | number | rows per page (1–200, default 50) |
pageToken | string | cursor from a previous call |
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_onedrive_files.
MCP (tools/call)
{"jsonrpc":"2.0","id":1,"method":"tools/call","params":{"name":"list_onedrive_files","arguments":{}}}
CLI
hermoso call list_onedrive_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.
Related tools
save_to_onedriveSave file(s) to OneDriveget_onedrive_fileGet a OneDrive file’s detailsupdate_onedrive_fileRename / move a OneDrive filedelete_onedrive_fileDelete a OneDrive fileshare_onedrive_fileShare a OneDrive file as a linkonedrive_file_permissionsWho can open a OneDrive fileconvert_onedrive_fileConvert a OneDrive file to PDF or JPGcreate_onedrive_folderCreate a OneDrive folder