Skip to main content
Glama

drive.files.copy

Creates a copy of a Google Drive file and applies requested updates, letting you duplicate files while modifying metadata or properties.

Instructions

Creates a copy of a file and applies any requested updates with patch semantics. For more information, see Create and manage files [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: create, 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.
fileIdYes[URL path segment] The ID of the file.
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).
copyCommentsNo[query parameter] Whether to copy the open (unresolved) comments associated with the file.false
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: Copying files into multiple folders is no longer supported. Use shortcuts instead.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.

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. Changed17 schema fields changed
    • addedInput schema / properties / copyComments / default
      Added value: +"false"
    • changedInput schema / properties / copyComments / description
      Previous value: -"Whether to copy the open (unresolved) comments associated with the file."New value: +"[query parameter] Whether to copy the open (unresolved) comments associated with the file."
    • addedInput schema / properties / enforceSingleParent / default
      Added value: +"false"
    • changedInput schema / properties / enforceSingleParent / description
      Previous value: -"Deprecated: Copying files into multiple folders is no longer supported. Use shortcuts instead."New value: +"[query parameter] Deprecated: Copying files into multiple folders is no longer supported. Use shortcuts instead."
    • changedInput schema / properties / fileId / description
      Previous value: -"The ID of the file."New value: +"[URL path segment] The ID of the file."
    • 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."
    • 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

A4/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 well: it discloses the write nature (POST), that it is refused under readonly profiles, that it returns the API response resource as JSON, and how the body is supplied via params or body_file. It omits permission/auth requirements and what happens on name conflicts, keeping it short of 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 core purpose is front-loaded, but the single paragraph is a run-on that crams HTTP verb, safety note, return format, body-field enumeration, and a long sibling dump together. Every element is relevant, but the density and undifferentiated sibling list reduce scannability.

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

Completeness4/5

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

For a 15-parameter mutation tool with nested body objects and an output schema, the description covers return shape, body mechanics, safety-mode behavior, and sibling routing. The remaining omissions (permissions needed, copy constraints like copyRequiresWriterPermission effects) are minor given the schema and output schema.

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; the description adds value by explaining that the request body is a JSON File object, listing representative fields, and clarifying the merge order between `params` and `body_file`. That is meaningful semantics beyond the schema's own field descriptions.

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

Purpose5/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 copy of a file and applies any requested updates with patch semantics.' It then names the siblings over the same resource (create, delete, download, get, update, etc.), letting an agent distinguish copy from create/update without opening schemas.

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

Usage Guidelines3/5

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

It gives operational context (HTTP POST, 'refused under --readonly safety profiles') and lists sibling tools, but never says when to choose copy over create/update or what preconditions apply (e.g., canCopy capability, permission requirements). Usage is implied by the verb and sibling list rather than stated.

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