# Hermoso: import_from_cloud: Import a Drive · Hermoso developer docs

> Machine-readable twin of https://hermoso.ai/docs/reference/workspace/import_from_cloud/. Generated from the shipped page. Do not edit by hand.
> Full agent guide: https://hermoso.ai/llms.txt · MCP: https://app.hermoso.ai/mcp

[Docs](https://hermoso.ai/docs/) / [Tool reference](https://hermoso.ai/docs/reference/) / [Workspace & account](https://hermoso.ai/docs/reference/workspace/) / import_from_cloud

# `import_from_cloud`

Import a Drive / OneDrive folder into the Library

Area: PULL A WHOLE CLOUD FOLDER INTO THE LIBRARY · [Workspace & account](https://hermoso.ai/docs/reference/workspace/). Generated from the running MCP server, like the rest of the [tool reference](https://hermoso.ai/docs/reference/).

## Description

Pull the files in a Google Drive or OneDrive FOLDER into this profile's Library, so they can be used like anything rendered here — published, scheduled, cloned, used as a product photo or a reference. Hermoso downloads each file with the user's own connected account (a Drive/OneDrive file is not public) and stores a durable Hermoso url for each. Give `folderId` from list_drive_files / list_onedrive_files with onlyFolders — omit it for the root. GOOGLE DRIVE ONLY SHOWS WHAT THE USER HANDED OVER: our Drive scope is `drive.file`, so Hermoso can see the files and folders it created plus the ones the user picked with the Google picker in the app, and NEVER their whole Drive. Picking a FOLDER hands over the folder alone, not the files in it, so if a folder comes back empty the reply carries a link that opens the picker inside it, where the user selects every file at once (Cmd+A / Ctrl+A); give them that link. OneDrive has no such limit. SUBFOLDERS ARE NOT WALKED and Google-native docs (Docs/Sheets/Slides) have no file to download: both are reported back BY NAME rather than silently dropped, along with anything too large or unreadable, so you can tell the user exactly what did and did not come across.

## Parameters

Parameter Type Description

`provider` required `"drive" | "onedrive"` which cloud — `drive` is Google Drive, `onedrive` is Microsoft OneDrive

`folderId` `string` the folder to import, from list_drive_files / list_onedrive_files (onlyFolders:true). Omit for the root of the drive.

`limit` `number` how many files to bring across in this call (default 10, max 25). Anything over the limit is listed as skipped so you know what is left.

## 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/import_from_cloud`.

**MCP** (`tools/call`)

`{"jsonrpc":"2.0","id":1,"method":"tools/call","params":{"name":"import_from_cloud","arguments":{"provider":"<one of the listed values>"}}}`
**CLI**

`hermoso call import_from_cloud --json '{"provider":"<one of the listed values>"}'`

## 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](https://hermoso.ai/docs/credits/).

## Related tools

- [list_drive_files](https://hermoso.ai/docs/reference/workspace/list_drive_files/) List Google Drive files
- [list_onedrive_files](https://hermoso.ai/docs/reference/files/list_onedrive_files/) List OneDrive files
- [get_drive_file](https://hermoso.ai/docs/reference/workspace/get_drive_file/) Get a Drive file’s details
- [update_drive_file](https://hermoso.ai/docs/reference/workspace/update_drive_file/) Rename / move / trash a Drive file
- [delete_drive_file](https://hermoso.ai/docs/reference/workspace/delete_drive_file/) Delete a Drive file
- [create_drive_folder](https://hermoso.ai/docs/reference/workspace/create_drive_folder/) Create a Drive folder

[All 143 Workspace & account tools](https://hermoso.ai/docs/reference/workspace/) · [tools.json](https://hermoso.ai/docs/reference/tools.json)
