create_drive_folder
Create a new folder in Google Drive or a shared drive. Specify the folder name and optional parent folder to organize files.
Instructions
Create a new folder in Drive (or inside a shared drive).
Side effects: creates a folder owned by the authenticated user (or by the shared drive when parent_folder_id lives in one). To upload files into the new folder use create_drive_file with folder_id set to the returned ID. Requires the drive.file OAuth scope.
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": {
"user_google_email": "<user_google_email>",
"folder_name": "<folder_name>"
},
"name": "create_drive_folder"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| user_google_email | Yes | The user's Google email address (authenticated account). | |
| folder_name | Yes | Display name for the new folder. Forward slashes are treated as literal characters, not nesting. | |
| parent_folder_id | No | Parent folder ID. "root" for My Drive root, or a folder ID within a shared drive for shared-drive folders. | root |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |