Drive Create Folder
drive_create_folderCreate a new folder in Google Drive, optionally inside a parent folder or shared drive. Use the returned folder ID as a parent ID in later file operations.
Instructions
Create a new Drive folder. For other empty files, such as a blank Google Doc, use drive_upload_file with only name and mime_type; to put an existing file into a folder use drive_move_file. Returns status 'ok' and file (id, name, kind, mime_type, size, size_bytes, parent_ids, drive_id, web_url, trashed; null where the change does not report it); use file.id as a parent ID in later calls.
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": {
"name": "<name>"
},
"name": "drive_create_folder"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| name | Yes | Folder name as shown in Drive; Drive allows duplicate names. | |
| parent_ids | No | One parent folder ID (Drive allows a single parent), or a shared drive ID to create it at that drive's top level; omit to create it in the root of My Drive. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| file | No | ||
| status | No | Machine-readable operation status. |