Skip to main content
Rename a file, update its description, or move it to a different folder in Google Drive

Tool details

FieldValue
Namedrive__update_file
GroupIntegrations

Playground

Input schema

Input schema
{
  "type": "object",
  "properties": {
    "fileId": {
      "type": "string",
      "description": "Google Drive file ID to update"
    },
    "addParents": {
      "type": "string",
      "description": "Comma-separated parent folder IDs to add (use with removeParents to move)"
    },
    "removeParents": {
      "type": "string",
      "description": "Comma-separated parent folder IDs to remove (use with addParents to move)"
    },
    "fields": {
      "type": "string",
      "description": "Partial response field selector"
    },
    "name": {
      "type": "string",
      "description": "New file name"
    },
    "description": {
      "type": "string",
      "description": "New file description"
    }
  },
  "required": [
    "fileId"
  ],
  "description": "Input schema for the drive__update_file tool."
}

Output schema

This tool does not publish an output schema.