create_file
Create a new file in Google Drive by specifying name, MIME type, content, and optional parent folder and description.
Instructions
Create a new file in Google Drive
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>",
"mimeType": "<mimeType>",
"content": "<content>"
},
"name": "create_file"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| name | Yes | Name of the file to create | |
| mimeType | Yes | MIME type of the file | |
| content | Yes | Content of the file | |
| parentId | No | ID of the parent folder | |
| description | No | Description of the file |