drive_create_folder
Create a folder in Google Drive under a specified parent, returning the existing folder if a same-named folder already exists to prevent duplicates.
Instructions
Create a folder in Google Drive. If a folder with the same name already exists directly under the given parent, that folder is returned instead of creating a duplicate. Cannot rename, move, delete, upload into, or share the folder it creates or finds.
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"account": "<account>",
"name": "<name>"
},
"name": "drive_create_folder"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| name | Yes | Folder name. | |
| account | Yes | Configured Gmail account alias, e.g. work, personal, support. | |
| parentId | No | Parent folder id. Defaults to "root". |