Create a folder
create_folderCreate a Google Drive folder inside a specified parent or shared drive, then retrieve its ID, name, and web link. Passing a parent_id places the folder; omitting it uses My Drive top level.
Instructions
Creates a folder (a Drive file with mimeType application/vnd.google-apps.folder) and returns its id, name, parents and webViewLink. parent_id places it inside a folder or a shared drive ('root' or omitted = My Drive top level). Drive allows several folders with the same name in the same parent — search_files first if the folder might already exist, and reuse its id instead of creating a duplicate.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| name | Yes | The folder name (not required to be unique, even within one parent). | |
| parent_id | No | Parent folder or shared-drive id; omitted = My Drive root. |