Skip to main content
Glama

drive.files.create

Creates a Google Drive file by uploading media and metadata, then returns the API response as JSON for automation workflows.

Instructions

Creates a file. For more information, see Create and manage files. This method supports an /upload URI and accepts uploaded media with the following characteristics: - Maximum file size: 5,120 GB - Accepted Media MIME types: */* (Specify a valid MIME type, rather than the literal */* value. The literal */* is only used to indicate that any valid MIME type can be uploaded. For more information, see [Google Workspace and Google Drive supported MIME types](https://developers.google.com/workspace/drive/api/guides/m [HTTP POST] — creates or triggers a change; refused under --readonly safety profiles. Returns the API's response resource as JSON — request body is a JSON File object accepting appProperties, capabilities, clientEncryptionDetails, contentHints, contentRestrictions, copyRequiresWriterPermission, createdTime, description and 57 more fields; pass it via params or whole via body_file Siblings over the same resource: copy, delete, download, emptyTrash, export, generateCseToken, generateIds, get, list, listLabels, modifyLabels, update, watch.

Input Schema

NameRequiredDescriptionDefault
queryNoExtra KEY=VALUE query pairs for endpoints whose parameters Discovery does not describe.
paramsNoParameter map merged into the request; typed parameters win.
dry_runNoReturn the request that would be sent, without sending it.
body_fileNoRead the request body from this file ('-' for stdin) instead of building one from the parameters. The body is a JSON File object.
ocrLanguageNo[query parameter] A language hint for OCR processing during image import (ISO 639-1 code).
request_bodyNoRequest body of type File: pass it via `params` (merged into the built body) or whole via `body_file`.
includeLabelsNo[query parameter] A comma-separated list of IDs of labels to include in the `labelInfo` part of the response.
supportsAllDrivesNo[query parameter] Whether the requesting application supports both My Drives and shared drives.false
supportsTeamDrivesNo[query parameter] Deprecated: Use `supportsAllDrives` instead.false
enforceSingleParentNo[query parameter] Deprecated: Creating files in multiple folders is no longer supported.false
keepRevisionForeverNo[query parameter] Whether to set the `keepForever` field in the new head revision. This is only applicable to files with binary content in Google Drive. Only 200 revisions for thfalse
ignoreDefaultVisibilityNo[query parameter] Whether to ignore the domain's default visibility settings for the created file. Domain administrators can choose to make all uploaded files visible to the domafalse
includePermissionsForViewNo[query parameter] Specifies which additional view's permissions to include in the response. Only `published` is supported.
useContentAsIndexableTextNo[query parameter] Whether to use the uploaded content as indexable text.false

Output Schema

NameRequiredDescriptionDefault
idNo
kindNo
nameNo
sizeNo
ownersNo
sharedNo
spacesNo
driveIdNo
parentsNo
starredNo
trashedNo
versionNo
iconLinkNo
mimeTypeNo
labelInfoNo
ownedByMeNo
propertiesNo
viewedByMeNo
createdTimeNo
descriptionNo
exportLinksNo
md5ChecksumNo
permissionsNo
resourceKeyNo
sharingUserNo
teamDriveIdNo
trashedTimeNo
webViewLinkNo
capabilitiesNo
contentHintsNo
hasThumbnailNo
modifiedByMeNo
modifiedTimeNo
sha1ChecksumNo
trashingUserNo
appPropertiesNo
fileExtensionNo
permissionIdsNo
thumbnailLinkNo
folderColorRgbNo
headRevisionIdNo
quotaBytesUsedNo
sha256ChecksumNo
viewedByMeTimeNo
webContentLinkNo
isAppAuthorizedNo
shortcutDetailsNo
writersCanShareNo
modifiedByMeTimeNo
originalFilenameNo
sharedWithMeTimeNo
thumbnailVersionNo
explicitlyTrashedNo
fullFileExtensionNo
lastModifyingUserNo
linkShareMetadataNo
imageMediaMetadataNo
videoMediaMetadataNo
contentRestrictionsNo
downloadRestrictionsNo
viewersCanCopyContentNo
clientEncryptionDetailsNo
hasAugmentedPermissionsNo
copyRequiresWriterPermissionNo
inheritedPermissionsDisabledNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed2 schema fields changed
    • changedInput schema / properties / body_file / description
      Previous value: -"Read the request body from this file ('-' for stdin) instead of building one from the parameters."New value: +"Read the request body from this file ('-' for stdin) instead of building one from the parameters. The body is a JSON File object."
    • addedInput schema / properties / request_body
      Added value: +{
      +  "description": "Request body of type File: pass it via `params` (merged into the built body) or whole via `body_file`.",
      +  "properties": {
      +    "appProperties": {
      +      "type": "object"
      +    },
      +    "capabilities": {
      +      "properties": {
      +        "canAcceptOwnership": {
      +          "type": "boolean"
      +        },
      +        "canAccessViaGenAi": {
      +          "type": "boolean"
      +        },
      +        "canAddChildren": {
      +          "type": "boolean"
      +        },
      +        "canAddFolderFromAnotherDrive": {
      +          "type": "boolean"
      +        },
      +        "canAddMyDriveParent": {
      +          "type": "boolean"
      +        },
      +        "canChangeCopyRequiresWriterPermission": {
      +          "type": "boolean"
      +        },
      +        "canChangeItemDownloadRestriction": {
      +          "type": "boolean"
      +        },
      +        "canChangeSecurityUpdateEnabled": {
      +          "type": "boolean"
      +        },
      +        "canChangeViewersCanCopyContent": {
      +          "type": "boolean"
      +        },
      +        "canComment": {
      +          "type": "boolean"
      +        },
      +        "canCopy": {
      +          "type": "boolean"
      +        },
      +        "canDelete": {
      +          "type": "boolean"
      +        },
      +        "canDeleteChildren": {
      +          "type": "boolean"
      +        },
      +        "canDisableInheritedPermissions": {
      +          "type": "boolean"
      +        },
      +        "canDownload": {
      +          "type": "boolean"
      +        },
      +        "canEdit": {
      +          "type": "boolean"
      +        },
      +        "canEnableInheritedPermissions": {
      +          "type": "boolean"
      +        },
      +        "canListChildren": {
      +          "type": "boolean"
      +        },
      +        "canModifyContent": {
      +          "type": "boolean"
      +        },
      +        "canModifyContentRestriction": {
      +          "type": "boolean"
      +        },
      +        "canModifyEditorContentRestriction": {
      +          "type": "boolean"
      +        },
      +        "canModifyLabels": {
      +          "type": "boolean"
      +        },
      +        "canModifyOwnerContentRestriction": {
      +          "type": "boolean"
      +        },
      +        "canMoveChildrenOutOfDrive": {
      +          "type": "boolean"
      +        },
      +        "canMoveChildrenOutOfTeamDrive": {
      +          "type": "boolean"
      +        },
      +        "canMoveChildrenWithinDrive": {
      +          "type": "boolean"
      +        },
      +        "canMoveChildrenWithinTeamDrive": {
      +          "type": "boolean"
      +        },
      +        "canMoveItemIntoTeamDrive": {
      +          "type": "boolean"
      +        },
      +        "canMoveItemOutOfDrive": {
      +          "type": "boolean"
      +        },
      +        "canMoveItemOutOfTeamDrive": {
      +          "type": "boolean"
      +        },
      +        "canMoveItemWithinDrive": {
      +          "type": "boolean"
      +        },
      +        "canMoveItemWithinTeamDrive": {
      +          "type": "boolean"
      +        },
      +        "canMoveTeamDriveItem": {
      +          "type": "boolean"
      +        },
      +        "canReadDrive": {
      +          "type": "boolean"
      +        },
      +        "canReadLabels": {
      +          "type": "boolean"
      +        },
      +        "canReadRevisions": {
      +          "type": "boolean"
      +        },
      +        "canReadTeamDrive": {
      +          "type": "boolean"
      +        },
      +        "canRemoveChildren": {
      +          "type": "boolean"
      +        },
      +        "canRemoveContentRestriction": {
      +          "type": "boolean"
      +        },
      +        "canRemoveMyDriveParent": {
      +          "type": "boolean"
      +        },
      +        "canRename": {
      +          "type": "boolean"
      +        },
      +        "canShare": {
      +          "type": "boolean"
      +        },
      +        "canStartApproval": {
      +          "type": "boolean"
      +        },
      +        "canTrash": {
      +          "type": "boolean"
      +        },
      +        "canTrashChildren": {
      +          "type": "boolean"
      +        },
      +        "canUntrash": {
      +          "type": "boolean"
      +        }
      +      },
      +      "type": "object"
      +    },
      +    "clientEncryptionDetails": {
      +      "properties": {
      +        "decryptionMetadata": {
      +          "properties": {
      +            "aes256GcmChunkSize": {
      +              "type": "string"
      +            },
      +            "encryptionResourceKeyHash": {
      +              "type": "string"
      +            },
      +            "jwt": {
      +              "type": "string"
      +            },
      +            "kaclsId": {
      +              "type": "string"
      +            },
      +            "kaclsName": {
      +              "type": "string"
      +            },
      +            "keyFormat": {
      +              "type": "string"
      +            },
      +            "wrappedKey": {
      +              "type": "string"
      +            }
      +          },
      +          "type": "object"
      +        },
      +        "encryptionState": {
      +          "type": "string"
      +        }
      +      },
      +      "type": "object"
      +    },
      +    "contentHints": {
      +      "properties": {
      +        "indexableText": {
      +          "type": "string"
      +        },
      +        "thumbnail": {
      +          "properties": {
      +            "image": {
      +              "type": "string"
      +            },
      +            "mimeType": {
      +              "type": "string"
      +            }
      +          },
      +          "type": "object"
      +        }
      +      },
      +      "type": "object"
      +    },
      +    "contentRestrictions": {
      +      "items": {
      +        "properties": {
      +          "ownerRestricted": {
      +            "type": "boolean"
      +          },
      +          "readOnly": {
      +            "type": "boolean"
      +          },
      +          "reason": {
      +            "type": "string"
      +          },
      +          "restrictingUser": {
      +            "properties": {
      +              "displayName": {
      +                "type": "string"
      +              },
      +              "emailAddress": {
      +                "type": "string"
      +              },
      +              "kind": {
      +                "type": "string"
      +              },
      +              "me": {
      +                "type": "boolean"
      +              },
      +              "permissionId": {
      +                "type": "string"
      +              },
      +              "photoLink": {
      +                "type": "string"
      +              }
      +            },
      +            "type": "object"
      +          },
      +          "restrictionTime": {
      +            "type": "string"
      +          },
      +          "systemRestricted": {
      +            "type": "boolean"
      +          },
      +          "type": {
      +            "type": "string"
      +          }
      +        },
      +        "type": "object"
      +      },
      +      "type": "array"
      +    },
      +    "copyRequiresWriterPermission": {
      +      "type": "boolean"
      +    },
      +    "createdTime": {
      +      "type": "string"
      +    },
      +    "description": {
      +      "type": "string"
      +    },
      +    "downloadRestrictions": {
      +      "properties": {
      +        "effectiveDownloadRestrictionWithContext": {
      +          "properties": {
      +            "restrictedForReaders": {
      +              "type": "boolean"
      +            },
      +            "restrictedForWriters": {
      +              "type": "boolean"
      +            }
      +          },
      +          "type": "object"
      +        },
      +        "itemDownloadRestriction": {
      +          "properties": {
      +            "restrictedForReaders": {
      +              "type": "boolean"
      +            },
      +            "restrictedForWriters": {
      +              "type": "boolean"
      +            }
      +          },
      +          "type": "object"
      +        }
      +      },
      +      "type": "object"
      +    },
      +    "driveId": {
      +      "type": "string"
      +    },
      +    "explicitlyTrashed": {
      +      "type": "boolean"
      +    },
      +    "exportLinks": {
      +      "type": "object"
      +    },
      +    "fileExtension": {
      +      "type": "string"
      +    },
      +    "folderColorRgb": {
      +      "type": "string"
      +    },
      +    "fullFileExtension": {
      +      "type": "string"
      +    },
      +    "hasAugmentedPermissions": {
      +      "type": "boolean"
      +    },
      +    "hasThumbnail": {
      +      "type": "boolean"
      +    },
      +    "headRevisionId": {
      +      "type": "string"
      +    },
      +    "iconLink": {
      +      "type": "string"
      +    },
      +    "id": {
      +      "type": "string"
      +    },
      +    "imageMediaMetadata": {
      +      "properties": {
      +        "aperture": {
      +          "type": "number"
      +        },
      +        "cameraMake": {
      +          "type": "string"
      +        },
      +        "cameraModel": {
      +          "type": "string"
      +        },
      +        "colorSpace": {
      +          "type": "string"
      +        },
      +        "exposureBias": {
      +          "type": "number"
      +        },
      +        "exposureMode": {
      +          "type": "string"
      +        },
      +        "exposureTime": {
      +          "type": "number"
      +        },
      +        "flashUsed": {
      +          "type": "boolean"
      +        },
      +        "focalLength": {
      +          "type": "number"
      +        },
      +        "height": {
      +          "type": "integer"
      +        },
      +        "isoSpeed": {
      +          "type": "integer"
      +        },
      +        "lens": {
      +          "type": "string"
      +        },
      +        "location": {
      +          "properties": {
      +            "altitude": {
      +              "type": "number"
      +            },
      +            "latitude": {
      +              "type": "number"
      +            },
      +            "longitude": {
      +              "type": "number"
      +            }
      +          },
      +          "type": "object"
      +        },
      +        "maxApertureValue": {
      +          "type": "number"
      +        },
      +        "meteringMode": {
      +          "type": "string"
      +        },
      +        "rotation": {
      +          "type": "integer"
      +        },
      +        "sensor": {
      +          "type": "string"
      +        },
      +        "subjectDistance": {
      +          "type": "integer"
      +        },
      +        "time": {
      +          "type": "string"
      +        },
      +        "whiteBalance": {
      +          "type": "string"
      +        },
      +        "width": {
      +          "type": "integer"
      +        }
      +      },
      +      "type": "object"
      +    },
      +    "inheritedPermissionsDisabled": {
      +      "type": "boolean"
      +    },
      +    "isAppAuthorized": {
      +      "type": "boolean"
      +    },
      +    "kind": {
      +      "type": "string"
      +    },
      +    "labelInfo": {
      +      "properties": {
      +        "labels": {
      +          "items": {
      +            "properties": {
      +              "fields": {
      +                "type": "object"
      +              },
      +              "id": {
      +                "type": "string"
      +              },
      +              "kind": {
      +                "type": "string"
      +              },
      +              "revisionId": {
      +                "type": "string"
      +              }
      +            },
      +            "type": "object"
      +          },
      +          "type": "array"
      +        }
      +      },
      +      "type": "object"
      +    },
      +    "lastModifyingUser": {
      +      "properties": {
      +        "displayName": {
      +          "type": "string"
      +        },
      +        "emailAddress": {
      +          "type": "string"
      +        },
      +        "kind": {
      +          "type": "string"
      +        },
      +        "me": {
      +          "type": "boolean"
      +        },
      +        "permissionId": {
      +          "type": "string"
      +        },
      +        "photoLink": {
      +          "type": "string"
      +        }
      +      },
      +      "type": "object"
      +    },
      +    "linkShareMetadata": {
      +      "properties": {
      +        "securityUpdateEligible": {
      +          "type": "boolean"
      +        },
      +        "securityUpdateEnabled": {
      +          "type": "boolean"
      +        }
      +      },
      +      "type": "object"
      +    },
      +    "md5Checksum": {
      +      "type": "string"
      +    },
      +    "mimeType": {
      +      "type": "string"
      +    },
      +    "modifiedByMe": {
      +      "type": "boolean"
      +    },
      +    "modifiedByMeTime": {
      +      "type": "string"
      +    },
      +    "modifiedTime": {
      +      "type": "string"
      +    },
      +    "name": {
      +      "type": "string"
      +    },
      +    "originalFilename": {
      +      "type": "string"
      +    },
      +    "ownedByMe": {
      +      "type": "boolean"
      +    },
      +    "owners": {
      +      "items": {
      +        "properties": {
      +          "displayName": {
      +            "type": "string"
      +          },
      +          "emailAddress": {
      +            "type": "string"
      +          },
      +          "kind": {
      +            "type": "string"
      +          },
      +          "me": {
      +            "type": "boolean"
      +          },
      +          "permissionId": {
      +            "type": "string"
      +          },
      +          "photoLink": {
      +            "type": "string"
      +          }
      +        },
      +        "type": "object"
      +      },
      +      "type": "array"
      +    },
      +    "parents": {
      +      "items": {
      +        "type": "string"
      +      },
      +      "type": "array"
      +    },
      +    "permissionIds": {
      +      "items": {
      +        "type": "string"
      +      },
      +      "type": "array"
      +    },
      +    "permissions": {
      +      "items": {
      +        "properties": {
      +          "allowFileDiscovery": {
      +            "type": "boolean"
      +          },
      +          "deleted": {
      +            "type": "boolean"
      +          },
      +          "displayName": {
      +            "type": "string"
      +          },
      +          "domain": {
      +            "type": "string"
      +          },
      +          "emailAddress": {
      +            "type": "string"
      +          },
      +          "expirationTime": {
      +            "type": "string"
      +          },
      +          "id": {
      +            "type": "string"
      +          },
      +          "inheritedPermissionsDisabled": {
      +            "type": "boolean"
      +          },
      +          "kind": {
      +            "type": "string"
      +          },
      +          "pendingOwner": {
      +            "type": "boolean"
      +          },
      +          "permissionDetails": {
      +            "items": {
      +              "properties": {
      +                "inherited": {
      +                  "type": "boolean"
      +                },
      +                "inheritedFrom": {
      +                  "type": "string"
      +                },
      +                "permissionType": {
      +                  "type": "string"
      +                },
      +                "role": {
      +                  "type": "string"
      +                }
      +              },
      +              "type": "object"
      +            },
      +            "type": "array"
      +          },
      +          "photoLink": {
      +            "type": "string"
      +          },
      +          "role": {
      +            "type": "string"
      +          },
      +          "teamDrivePermissionDetails": {
      +            "items": {
      +              "properties": {
      +                "inherited": {
      +                  "type": "boolean"
      +                },
      +                "inheritedFrom": {
      +                  "type": "string"
      +                },
      +                "role": {
      +                  "type": "string"
      +                },
      +                "teamDrivePermissionType": {
      +                  "type": "string"
      +                }
      +              },
      +              "type": "object"
      +            },
      +            "type": "array"
      +          },
      +          "type": {
      +            "type": "string"
      +          },
      +          "view": {
      +            "type": "string"
      +          }
      +        },
      +        "type": "object"
      +      },
      +      "type": "array"
      +    },
      +    "properties": {
      +      "type": "object"
      +    },
      +    "quotaBytesUsed": {
      +      "type": "string"
      +    },
      +    "resourceKey": {
      +      "type": "string"
      +    },
      +    "sha1Checksum": {
      +      "type": "string"
      +    },
      +    "sha256Checksum": {
      +      "type": "string"
      +    },
      +    "shared": {
      +      "type": "boolean"
      +    },
      +    "sharedWithMeTime": {
      +      "type": "string"
      +    },
      +    "sharingUser": {
      +      "properties": {
      +        "displayName": {
      +          "type": "string"
      +        },
      +        "emailAddress": {
      +          "type": "string"
      +        },
      +        "kind": {
      +          "type": "string"
      +        },
      +        "me": {
      +          "type": "boolean"
      +        },
      +        "permissionId": {
      +          "type": "string"
      +        },
      +        "photoLink": {
      +          "type": "string"
      +        }
      +      },
      +      "type": "object"
      +    },
      +    "shortcutDetails": {
      +      "properties": {
      +        "targetId": {
      +          "type": "string"
      +        },
      +        "targetMimeType": {
      +          "type": "string"
      +        },
      +        "targetResourceKey": {
      +          "type": "string"
      +        }
      +      },
      +      "type": "object"
      +    },
      +    "size": {
      +      "type": "string"
      +    },
      +    "spaces": {
      +      "items": {
      +        "type": "string"
      +      },
      +      "type": "array"
      +    },
      +    "starred": {
      +      "type": "boolean"
      +    },
      +    "teamDriveId": {
      +      "type": "string"
      +    },
      +    "thumbnailLink": {
      +      "type": "string"
      +    },
      +    "thumbnailVersion": {
      +      "type": "string"
      +    },
      +    "trashed": {
      +      "type": "boolean"
      +    },
      +    "trashedTime": {
      +      "type": "string"
      +    },
      +    "trashingUser": {
      +      "properties": {
      +        "displayName": {
      +          "type": "string"
      +        },
      +        "emailAddress": {
      +          "type": "string"
      +        },
      +        "kind": {
      +          "type": "string"
      +        },
      +        "me": {
      +          "type": "boolean"
      +        },
      +        "permissionId": {
      +          "type": "string"
      +        },
      +        "photoLink": {
      +          "type": "string"
      +        }
      +      },
      +      "type": "object"
      +    },
      +    "version": {
      +      "type": "string"
      +    },
      +    "videoMediaMetadata": {
      +      "properties": {
      +        "durationMillis": {
      +          "type": "string"
      +        },
      +        "height": {
      +          "type": "integer"
      +        },
      +        "width": {
      +          "type": "integer"
      +        }
      +      },
      +      "type": "object"
      +    },
      +    "viewedByMe": {
      +      "type": "boolean"
      +    },
      +    "viewedByMeTime": {
      +      "type": "string"
      +    },
      +    "viewersCanCopyContent": {
      +      "type": "boolean"
      +    },
      +    "webContentLink": {
      +      "type": "string"
      +    },
      +    "webViewLink": {
      +      "type": "string"
      +    },
      +    "writersCanShare": {
      +      "type": "boolean"
      +    }
      +  },
      +  "type": "object"
      +}
  2. Changed16 schema fields changed
    • addedInput schema / properties / enforceSingleParent / default
      Added value: +"false"
    • changedInput schema / properties / enforceSingleParent / description
      Previous value: -"Deprecated: Creating files in multiple folders is no longer supported."New value: +"[query parameter] Deprecated: Creating files in multiple folders is no longer supported."
    • addedInput schema / properties / ignoreDefaultVisibility / default
      Added value: +"false"
    • changedInput schema / properties / ignoreDefaultVisibility / description
      Previous value: -"Whether to ignore the domain's default visibility settings for the created file. Domain administrators can choose to make all uploaded files visible to the doma"New value: +"[query parameter] Whether to ignore the domain's default visibility settings for the created file. Domain administrators can choose to make all uploaded files visible to the doma"
    • changedInput schema / properties / includeLabels / description
      Previous value: -"A comma-separated list of IDs of labels to include in the `labelInfo` part of the response."New value: +"[query parameter] A comma-separated list of IDs of labels to include in the `labelInfo` part of the response."
    • changedInput schema / properties / includePermissionsForView / description
      Previous value: -"Specifies which additional view's permissions to include in the response. Only `published` is supported."New value: +"[query parameter] Specifies which additional view's permissions to include in the response. Only `published` is supported."
    • addedInput schema / properties / keepRevisionForever / default
      Added value: +"false"
    • changedInput schema / properties / keepRevisionForever / description
      Previous value: -"Whether to set the `keepForever` field in the new head revision. This is only applicable to files with binary content in Google Drive. Only 200 revisions for th"New value: +"[query parameter] Whether to set the `keepForever` field in the new head revision. This is only applicable to files with binary content in Google Drive. Only 200 revisions for th"
    • changedInput schema / properties / ocrLanguage / description
      Previous value: -"A language hint for OCR processing during image import (ISO 639-1 code)."New value: +"[query parameter] A language hint for OCR processing during image import (ISO 639-1 code)."
    • addedInput schema / properties / supportsAllDrives / default
      Added value: +"false"
    • changedInput schema / properties / supportsAllDrives / description
      Previous value: -"Whether the requesting application supports both My Drives and shared drives."New value: +"[query parameter] Whether the requesting application supports both My Drives and shared drives."
    • addedInput schema / properties / supportsTeamDrives / default
      Added value: +"false"
    • changedInput schema / properties / supportsTeamDrives / description
      Previous value: -"Deprecated: Use `supportsAllDrives` instead."New value: +"[query parameter] Deprecated: Use `supportsAllDrives` instead."
    • addedInput schema / properties / useContentAsIndexableText / default
      Added value: +"false"
    • changedInput schema / properties / useContentAsIndexableText / description
      Previous value: -"Whether to use the uploaded content as indexable text."New value: +"[query parameter] Whether to use the uploaded content as indexable text."
    • changedOutput schema / (root)
      Previous value: -nullNew value: +{
      +  "properties": {
      +    "appProperties": {
      +      "type": "object"
      +    },
      +    "capabilities": {
      +      "properties": {
      +        "canAcceptOwnership": {
      +          "type": "boolean"
      +        },
      +        "canAccessViaGenAi": {
      +          "type": "boolean"
      +        },
      +        "canAddChildren": {
      +          "type": "boolean"
      +        },
      +        "canAddFolderFromAnotherDrive": {
      +          "type": "boolean"
      +        },
      +        "canAddMyDriveParent": {
      +          "type": "boolean"
      +        },
      +        "canChangeCopyRequiresWriterPermission": {
      +          "type": "boolean"
      +        },
      +        "canChangeItemDownloadRestriction": {
      +          "type": "boolean"
      +        },
      +        "canChangeSecurityUpdateEnabled": {
      +          "type": "boolean"
      +        },
      +        "canChangeViewersCanCopyContent": {
      +          "type": "boolean"
      +        },
      +        "canComment": {
      +          "type": "boolean"
      +        },
      +        "canCopy": {
      +          "type": "boolean"
      +        },
      +        "canDelete": {
      +          "type": "boolean"
      +        },
      +        "canDeleteChildren": {
      +          "type": "boolean"
      +        },
      +        "canDisableInheritedPermissions": {
      +          "type": "boolean"
      +        },
      +        "canDownload": {
      +          "type": "boolean"
      +        },
      +        "canEdit": {
      +          "type": "boolean"
      +        },
      +        "canEnableInheritedPermissions": {
      +          "type": "boolean"
      +        },
      +        "canListChildren": {
      +          "type": "boolean"
      +        },
      +        "canModifyContent": {
      +          "type": "boolean"
      +        },
      +        "canModifyContentRestriction": {
      +          "type": "boolean"
      +        },
      +        "canModifyEditorContentRestriction": {
      +          "type": "boolean"
      +        },
      +        "canModifyLabels": {
      +          "type": "boolean"
      +        },
      +        "canModifyOwnerContentRestriction": {
      +          "type": "boolean"
      +        },
      +        "canMoveChildrenOutOfDrive": {
      +          "type": "boolean"
      +        },
      +        "canMoveChildrenOutOfTeamDrive": {
      +          "type": "boolean"
      +        },
      +        "canMoveChildrenWithinDrive": {
      +          "type": "boolean"
      +        },
      +        "canMoveChildrenWithinTeamDrive": {
      +          "type": "boolean"
      +        },
      +        "canMoveItemIntoTeamDrive": {
      +          "type": "boolean"
      +        },
      +        "canMoveItemOutOfDrive": {
      +          "type": "boolean"
      +        },
      +        "canMoveItemOutOfTeamDrive": {
      +          "type": "boolean"
      +        },
      +        "canMoveItemWithinDrive": {
      +          "type": "boolean"
      +        },
      +        "canMoveItemWithinTeamDrive": {
      +          "type": "boolean"
      +        },
      +        "canMoveTeamDriveItem": {
      +          "type": "boolean"
      +        },
      +        "canReadDrive": {
      +          "type": "boolean"
      +        },
      +        "canReadLabels": {
      +          "type": "boolean"
      +        },
      +        "canReadRevisions": {
      +          "type": "boolean"
      +        },
      +        "canReadTeamDrive": {
      +          "type": "boolean"
      +        },
      +        "canRemoveChildren": {
      +          "type": "boolean"
      +        },
      +        "canRemoveContentRestriction": {
      +          "type": "boolean"
      +        },
      +        "canRemoveMyDriveParent": {
      +          "type": "boolean"
      +        },
      +        "canRename": {
      +          "type": "boolean"
      +        },
      +        "canShare": {
      +          "type": "boolean"
      +        },
      +        "canStartApproval": {
      +          "type": "boolean"
      +        },
      +        "canTrash": {
      +          "type": "boolean"
      +        },
      +        "canTrashChildren": {
      +          "type": "boolean"
      +        },
      +        "canUntrash": {
      +          "type": "boolean"
      +        }
      +      },
      +      "type": "object"
      +    },
      +    "clientEncryptionDetails": {
      +      "properties": {
      +        "decryptionMetadata": {
      +          "properties": {
      +            "aes256GcmChunkSize": {
      +              "type": "string"
      +            },
      +            "encryptionResourceKeyHash": {
      +              "type": "string"
      +            },
      +            "jwt": {
      +              "type": "string"
      +            },
      +            "kaclsId": {
      +              "type": "string"
      +            },
      +            "kaclsName": {
      +              "type": "string"
      +            },
      +            "keyFormat": {
      +              "type": "string"
      +            },
      +            "wrappedKey": {
      +              "type": "string"
      +            }
      +          },
      +          "type": "object"
      +        },
      +        "encryptionState": {
      +          "type": "string"
      +        }
      +      },
      +      "type": "object"
      +    },
      +    "contentHints": {
      +      "properties": {
      +        "indexableText": {
      +          "type": "string"
      +        },
      +        "thumbnail": {
      +          "properties": {
      +            "image": {
      +              "type": "string"
      +            },
      +            "mimeType": {
      +              "type": "string"
      +            }
      +          },
      +          "type": "object"
      +        }
      +      },
      +      "type": "object"
      +    },
      +    "contentRestrictions": {
      +      "items": {
      +        "properties": {
      +          "ownerRestricted": {
      +            "type": "boolean"
      +          },
      +          "readOnly": {
      +            "type": "boolean"
      +          },
      +          "reason": {
      +            "type": "string"
      +          },
      +          "restrictingUser": {
      +            "properties": {
      +              "displayName": {
      +                "type": "string"
      +              },
      +              "emailAddress": {
      +                "type": "string"
      +              },
      +              "kind": {
      +                "type": "string"
      +              },
      +              "me": {
      +                "type": "boolean"
      +              },
      +              "permissionId": {
      +                "type": "string"
      +              },
      +              "photoLink": {
      +                "type": "string"
      +              }
      +            },
      +            "type": "object"
      +          },
      +          "restrictionTime": {
      +            "type": "string"
      +          },
      +          "systemRestricted": {
      +            "type": "boolean"
      +          },
      +          "type": {
      +            "type": "string"
      +          }
      +        },
      +        "type": "object"
      +      },
      +      "type": "array"
      +    },
      +    "copyRequiresWriterPermission": {
      +      "type": "boolean"
      +    },
      +    "createdTime": {
      +      "type": "string"
      +    },
      +    "description": {
      +      "type": "string"
      +    },
      +    "downloadRestrictions": {
      +      "properties": {
      +        "effectiveDownloadRestrictionWithContext": {
      +          "properties": {
      +            "restrictedForReaders": {
      +              "type": "boolean"
      +            },
      +            "restrictedForWriters": {
      +              "type": "boolean"
      +            }
      +          },
      +          "type": "object"
      +        },
      +        "itemDownloadRestriction": {
      +          "properties": {
      +            "restrictedForReaders": {
      +              "type": "boolean"
      +            },
      +            "restrictedForWriters": {
      +              "type": "boolean"
      +            }
      +          },
      +          "type": "object"
      +        }
      +      },
      +      "type": "object"
      +    },
      +    "driveId": {
      +      "type": "string"
      +    },
      +    "explicitlyTrashed": {
      +      "type": "boolean"
      +    },
      +    "exportLinks": {
      +      "type": "object"
      +    },
      +    "fileExtension": {
      +      "type": "string"
      +    },
      +    "folderColorRgb": {
      +      "type": "string"
      +    },
      +    "fullFileExtension": {
      +      "type": "string"
      +    },
      +    "hasAugmentedPermissions": {
      +      "type": "boolean"
      +    },
      +    "hasThumbnail": {
      +      "type": "boolean"
      +    },
      +    "headRevisionId": {
      +      "type": "string"
      +    },
      +    "iconLink": {
      +      "type": "string"
      +    },
      +    "id": {
      +      "type": "string"
      +    },
      +    "imageMediaMetadata": {
      +      "properties": {
      +        "aperture": {
      +          "type": "number"
      +        },
      +        "cameraMake": {
      +          "type": "string"
      +        },
      +        "cameraModel": {
      +          "type": "string"
      +        },
      +        "colorSpace": {
      +          "type": "string"
      +        },
      +        "exposureBias": {
      +          "type": "number"
      +        },
      +        "exposureMode": {
      +          "type": "string"
      +        },
      +        "exposureTime": {
      +          "type": "number"
      +        },
      +        "flashUsed": {
      +          "type": "boolean"
      +        },
      +        "focalLength": {
      +          "type": "number"
      +        },
      +        "height": {
      +          "type": "integer"
      +        },
      +        "isoSpeed": {
      +          "type": "integer"
      +        },
      +        "lens": {
      +          "type": "string"
      +        },
      +        "location": {
      +          "properties": {
      +            "altitude": {
      +              "type": "number"
      +            },
      +            "latitude": {
      +              "type": "number"
      +            },
      +            "longitude": {
      +              "type": "number"
      +            }
      +          },
      +          "type": "object"
      +        },
      +        "maxApertureValue": {
      +          "type": "number"
      +        },
      +        "meteringMode": {
      +          "type": "string"
      +        },
      +        "rotation": {
      +          "type": "integer"
      +        },
      +        "sensor": {
      +          "type": "string"
      +        },
      +        "subjectDistance": {
      +          "type": "integer"
      +        },
      +        "time": {
      +          "type": "string"
      +        },
      +        "whiteBalance": {
      +          "type": "string"
      +        },
      +        "width": {
      +          "type": "integer"
      +        }
      +      },
      +      "type": "object"
      +    },
      +    "inheritedPermissionsDisabled": {
      +      "type": "boolean"
      +    },
      +    "isAppAuthorized": {
      +      "type": "boolean"
      +    },
      +    "kind": {
      +      "type": "string"
      +    },
      +    "labelInfo": {
      +      "properties": {
      +        "labels": {
      +          "items": {
      +            "properties": {
      +              "fields": {
      +                "type": "object"
      +              },
      +              "id": {
      +                "type": "string"
      +              },
      +              "kind": {
      +                "type": "string"
      +              },
      +              "revisionId": {
      +                "type": "string"
      +              }
      +            },
      +            "type": "object"
      +          },
      +          "type": "array"
      +        }
      +      },
      +      "type": "object"
      +    },
      +    "lastModifyingUser": {
      +      "properties": {
      +        "displayName": {
      +          "type": "string"
      +        },
      +        "emailAddress": {
      +          "type": "string"
      +        },
      +        "kind": {
      +          "type": "string"
      +        },
      +        "me": {
      +          "type": "boolean"
      +        },
      +        "permissionId": {
      +          "type": "string"
      +        },
      +        "photoLink": {
      +          "type": "string"
      +        }
      +      },
      +      "type": "object"
      +    },
      +    "linkShareMetadata": {
      +      "properties": {
      +        "securityUpdateEligible": {
      +          "type": "boolean"
      +        },
      +        "securityUpdateEnabled": {
      +          "type": "boolean"
      +        }
      +      },
      +      "type": "object"
      +    },
      +    "md5Checksum": {
      +      "type": "string"
      +    },
      +    "mimeType": {
      +      "type": "string"
      +    },
      +    "modifiedByMe": {
      +      "type": "boolean"
      +    },
      +    "modifiedByMeTime": {
      +      "type": "string"
      +    },
      +    "modifiedTime": {
      +      "type": "string"
      +    },
      +    "name": {
      +      "type": "string"
      +    },
      +    "originalFilename": {
      +      "type": "string"
      +    },
      +    "ownedByMe": {
      +      "type": "boolean"
      +    },
      +    "owners": {
      +      "items": {
      +        "properties": {
      +          "displayName": {
      +            "type": "string"
      +          },
      +          "emailAddress": {
      +            "type": "string"
      +          },
      +          "kind": {
      +            "type": "string"
      +          },
      +          "me": {
      +            "type": "boolean"
      +          },
      +          "permissionId": {
      +            "type": "string"
      +          },
      +          "photoLink": {
      +            "type": "string"
      +          }
      +        },
      +        "type": "object"
      +      },
      +      "type": "array"
      +    },
      +    "parents": {
      +      "items": {
      +        "type": "string"
      +      },
      +      "type": "array"
      +    },
      +    "permissionIds": {
      +      "items": {
      +        "type": "string"
      +      },
      +      "type": "array"
      +    },
      +    "permissions": {
      +      "items": {
      +        "properties": {
      +          "allowFileDiscovery": {
      +            "type": "boolean"
      +          },
      +          "deleted": {
      +            "type": "boolean"
      +          },
      +          "displayName": {
      +            "type": "string"
      +          },
      +          "domain": {
      +            "type": "string"
      +          },
      +          "emailAddress": {
      +            "type": "string"
      +          },
      +          "expirationTime": {
      +            "type": "string"
      +          },
      +          "id": {
      +            "type": "string"
      +          },
      +          "inheritedPermissionsDisabled": {
      +            "type": "boolean"
      +          },
      +          "kind": {
      +            "type": "string"
      +          },
      +          "pendingOwner": {
      +            "type": "boolean"
      +          },
      +          "permissionDetails": {
      +            "items": {
      +              "properties": {
      +                "inherited": {
      +                  "type": "boolean"
      +                },
      +                "inheritedFrom": {
      +                  "type": "string"
      +                },
      +                "permissionType": {
      +                  "type": "string"
      +                },
      +                "role": {
      +                  "type": "string"
      +                }
      +              },
      +              "type": "object"
      +            },
      +            "type": "array"
      +          },
      +          "photoLink": {
      +            "type": "string"
      +          },
      +          "role": {
      +            "type": "string"
      +          },
      +          "teamDrivePermissionDetails": {
      +            "items": {
      +              "properties": {
      +                "inherited": {
      +                  "type": "boolean"
      +                },
      +                "inheritedFrom": {
      +                  "type": "string"
      +                },
      +                "role": {
      +                  "type": "string"
      +                },
      +                "teamDrivePermissionType": {
      +                  "type": "string"
      +                }
      +              },
      +              "type": "object"
      +            },
      +            "type": "array"
      +          },
      +          "type": {
      +            "type": "string"
      +          },
      +          "view": {
      +            "type": "string"
      +          }
      +        },
      +        "type": "object"
      +      },
      +      "type": "array"
      +    },
      +    "properties": {
      +      "type": "object"
      +    },
      +    "quotaBytesUsed": {
      +      "type": "string"
      +    },
      +    "resourceKey": {
      +      "type": "string"
      +    },
      +    "sha1Checksum": {
      +      "type": "string"
      +    },
      +    "sha256Checksum": {
      +      "type": "string"
      +    },
      +    "shared": {
      +      "type": "boolean"
      +    },
      +    "sharedWithMeTime": {
      +      "type": "string"
      +    },
      +    "sharingUser": {
      +      "properties": {
      +        "displayName": {
      +          "type": "string"
      +        },
      +        "emailAddress": {
      +          "type": "string"
      +        },
      +        "kind": {
      +          "type": "string"
      +        },
      +        "me": {
      +          "type": "boolean"
      +        },
      +        "permissionId": {
      +          "type": "string"
      +        },
      +        "photoLink": {
      +          "type": "string"
      +        }
      +      },
      +      "type": "object"
      +    },
      +    "shortcutDetails": {
      +      "properties": {
      +        "targetId": {
      +          "type": "string"
      +        },
      +        "targetMimeType": {
      +          "type": "string"
      +        },
      +        "targetResourceKey": {
      +          "type": "string"
      +        }
      +      },
      +      "type": "object"
      +    },
      +    "size": {
      +      "type": "string"
      +    },
      +    "spaces": {
      +      "items": {
      +        "type": "string"
      +      },
      +      "type": "array"
      +    },
      +    "starred": {
      +      "type": "boolean"
      +    },
      +    "teamDriveId": {
      +      "type": "string"
      +    },
      +    "thumbnailLink": {
      +      "type": "string"
      +    },
      +    "thumbnailVersion": {
      +      "type": "string"
      +    },
      +    "trashed": {
      +      "type": "boolean"
      +    },
      +    "trashedTime": {
      +      "type": "string"
      +    },
      +    "trashingUser": {
      +      "properties": {
      +        "displayName": {
      +          "type": "string"
      +        },
      +        "emailAddress": {
      +          "type": "string"
      +        },
      +        "kind": {
      +          "type": "string"
      +        },
      +        "me": {
      +          "type": "boolean"
      +        },
      +        "permissionId": {
      +          "type": "string"
      +        },
      +        "photoLink": {
      +          "type": "string"
      +        }
      +      },
      +      "type": "object"
      +    },
      +    "version": {
      +      "type": "string"
      +    },
      +    "videoMediaMetadata": {
      +      "properties": {
      +        "durationMillis": {
      +          "type": "string"
      +        },
      +        "height": {
      +          "type": "integer"
      +        },
      +        "width": {
      +          "type": "integer"
      +        }
      +      },
      +      "type": "object"
      +    },
      +    "viewedByMe": {
      +      "type": "boolean"
      +    },
      +    "viewedByMeTime": {
      +      "type": "string"
      +    },
      +    "viewersCanCopyContent": {
      +      "type": "boolean"
      +    },
      +    "webContentLink": {
      +      "type": "string"
      +    },
      +    "webViewLink": {
      +      "type": "string"
      +    },
      +    "writersCanShare": {
      +      "type": "boolean"
      +    }
      +  },
      +  "type": "object"
      +}
  3. First observed

TDQS

B3.4/5.0
Behavior4/5

Does the description disclose side effects, auth requirements, rate limits, or destructive behavior?

With no annotations, the description carries the burden and does disclose meaningful traits: it is a POST, it is refused under --readonly safety profiles, the maximum file size is 5,120 GB, and the accepted MIME type rule is spelled out. It omits auth scope requirements, quota implications, and whether duplicate names are permitted, which keeps it from a 5.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness3/5

Is the description appropriately sized, front-loaded, and free of redundancy?

The leading sentence is properly front-loaded, but the middle is Google docs boilerplate including a truncated URL fragment ("...guides/m") and verbose MIME-type hedging. The sibling tail is useful but reads as an appended dump rather than structured guidance.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness3/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

An output schema exists so return values need not be described, and the body/upload/size material is covered. However, for a 14-parameter nested-body mutation the description never says which fields are practically required (e.g. parents, name, mimeType) to place a file correctly, leaving a real gap.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters4/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

Schema coverage is 100%, so the baseline is 3, and the description earns above that by explaining the routing between `params`, `body_file`, and `request_body` and naming representative File body fields. It does not clarify the deprecated query params (enforceSingleParent, supportsTeamDrives) beyond what the schema already says.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose4/5

Does the description clearly state what the tool does and how it differs from similar tools?

States a specific verb and resource ("Creates a file") and enumerates the sibling operations over the same resource, which lets an agent distinguish create from copy/update/delete without opening schemas. The sibling list is pure enumeration rather than routing, so it stops short of a 5.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines2/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

No statement of when to use create versus copy, import, or update, and no prerequisites such as a target parent folder or required scopes. The only conditional guidance is the readonly-profile note, which is a constraint rather than usage selection.

Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.

Deploy Server

Other Tools