create_drive_file_tool
Create new files in Google Drive with specified content, name, and location using the Apps Script MCP server.
Instructions
Create a new file in Google Drive.
Args: user_google_email: The user's Google email address file_name: Name for the new file content: File content (text) folder_id: Parent folder ID (default: 'root') mime_type: MIME type of the file (default: 'text/plain')
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>",
"file_name": "<file_name>"
},
"name": "create_drive_file_tool"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| user_google_email | Yes | ||
| file_name | Yes | ||
| content | No | ||
| folder_id | No | root | |
| mime_type | No | text/plain |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |