Google Drive

gd_create_file

Create a new file or Google Workspace document (metadata only, no content upload). To create a folder, use gd_create_folder. For Google Docs, set mimeType to "application/vnd.google-apps.document".

Remote node2flow/google-drive

Other tools also called gd_create_file? See providers with this name

Input Schema


            {
  "type": "object",
  "properties": {
    "name": {
      "type": "string",
      "description": "File name"
    },
    "parents": {
      "type": "array",
      "items": {
        "type": "string"
      },
      "description": "Parent folder ID(s). If empty, file is created in root."
    },
    "starred": {
      "type": "boolean",
      "description": "Whether to star the file"
    },
    "mime_type": {
      "type": "string",
      "description": "MIME type. Google Workspace: \"application/vnd.google-apps.document\" (Docs), \"application/vnd.google-apps.spreadsheet\" (Sheets), \"application/vnd.google-apps.presentation\" (Slides)"
    },
    "properties": {
      "type": "object",
      "description": "Custom key-value properties for the file"
    },
    "description": {
      "type": "string",
      "description": "File description"
    }
  }
}