Skip to main content
Upload or create a file in Google Drive

Tool details

FieldValue
Namedrive__upload_file
GroupIntegrations

Playground

Input schema

Input schema
{
  "type": "object",
  "properties": {
    "uploadType": {
      "type": "string",
      "description": "Google Drive upload mode"
    },
    "fields": {
      "type": "string",
      "description": "Partial response field selector"
    },
    "content": {
      "type": "string",
      "description": "Text content to upload"
    },
    "mimeType": {
      "type": "string",
      "description": "Content MIME type"
    },
    "name": {
      "type": "string",
      "description": "Desired file name; use create_folder for folders"
    },
    "parents": {
      "type": "array",
      "description": "Optional parent folder IDs"
    }
  },
  "required": [
    "content"
  ],
  "description": "Input schema for the drive__upload_file tool."
}

Output schema

This tool does not publish an output schema.