drive_create_file
ActiveTool of Google_drive
declared in 0.1.0
Create a new file in Drive with specified name, content, and type (e.g., 'text/plain', 'application/pdf'). Returns the file ID for future reference.
Parameters schema
{
"type": "object",
"examples": [
{
"name": "meeting_notes.txt",
"content": "Q4 Planning Meeting\n- Review sales targets\n- Budget allocation",
"mime_type": "text/plain"
},
{
"name": "data.json",
"content": "{\"key\": \"value\"}",
"mime_type": "application/json",
"parent_folder_id": "0a1b2c3d4e5f6g7h8i9j"
}
],
"required": [
"name",
"content",
"mime_type"
],
"properties": {
"name": {
"type": "string",
"description": "Name for the new file"
},
"content": {
"type": "string",
"description": "Text content of the file"
},
"mime_type": {
"type": "string",
"description": "MIME type of the file (e.g., \"text/plain\", \"application/json\", \"text/html\")"
},
"parent_folder_id": {
"type": "string",
"description": "ID of the parent folder (optional, defaults to root)"
}
}
}Parent server
Google_drive
https://github.com/pipeworx-io/mcp-google_drive
1/7 registries