Skip to main content
FuseFuse
IntegrationsGoogle workspaceActions

List Google Drive changes

List durable Drive change events for the user or shared-drive namespace. Preserves removed visibility loss; never maps removed to deleted.

Agent markdown

drive.changes.list · Google Workspace · v1

Details

Risk
Read
Idempotency
Safe
Availability
Default
Exposure
REST, SDK, MCP
MCP hints
readOnly=true, destructive=false, idempotent=true, openWorld=true

Scopes

  • https://www.googleapis.com/auth/drive.metadata.readonly

Input

Input schema
NameTypeRequiredConstraints
(root)objectYesadditionalProperties false
page_tokenstringYesminLength 1; maxLength 512
drive_idstringNominLength 1; maxLength 256
page_sizeintegerNominimum 1; maximum 100

Output

Output schema
NameTypeRequiredConstraints
(root)objectYesadditionalProperties false
changesarray<object>YesmaxItems 100
changes[]objectYesadditionalProperties false; oneOf branch 1: required change_type, file_id, removed; change_type=file / branch 2: required change_type, removed; change_type=drive
changes[].change_typestringNoenum file | drive
changes[].file_idstringNominLength 1; maxLength 256
changes[].drive_idstringNominLength 1; maxLength 256
changes[].occurred_atstringNomaxLength 64
changes[].removedbooleanNo
changes[].fileobjectNoadditionalProperties false
changes[].file.idstringYesminLength 1; maxLength 256
changes[].file.namestringYesmaxLength 512
changes[].file.mime_typestringYesmaxLength 256
changes[].file.parentsarray<string>NomaxItems 20
changes[].file.parents[]stringYesmaxLength 256
changes[].file.drive_idstringNomaxLength 256
changes[].file.web_view_urlstringNomaxLength 2048
changes[].file.created_atstringNomaxLength 64
changes[].file.updated_atstringNomaxLength 64
changes[].file.trashedbooleanNo
changes[].file.revisionstringNomaxLength 64
changes[].file.size_bytesstringNomaxLength 32
changes[].file.client_side_encryptedbooleanYes
changes[].driveobjectNoadditionalProperties false
changes[].drive.idstringYesminLength 1; maxLength 256
changes[].drive.namestringNomaxLength 512
next_page_tokenstringNomaxLength 512
new_start_page_tokenstringNomaxLength 512

Raw schema

Input
{
  "type": "object",
  "additionalProperties": false,
  "properties": {
    "page_token": {
      "type": "string",
      "minLength": 1,
      "maxLength": 512
    },
    "drive_id": {
      "type": "string",
      "minLength": 1,
      "maxLength": 256
    },
    "page_size": {
      "type": "integer",
      "minimum": 1,
      "maximum": 100
    }
  },
  "required": [
    "page_token"
  ]
}
Output
{
  "type": "object",
  "additionalProperties": false,
  "properties": {
    "changes": {
      "type": "array",
      "items": {
        "type": "object",
        "additionalProperties": false,
        "properties": {
          "change_type": {
            "type": "string",
            "enum": [
              "file",
              "drive"
            ]
          },
          "file_id": {
            "type": "string",
            "minLength": 1,
            "maxLength": 256
          },
          "drive_id": {
            "type": "string",
            "minLength": 1,
            "maxLength": 256
          },
          "occurred_at": {
            "type": "string",
            "maxLength": 64
          },
          "removed": {
            "type": "boolean"
          },
          "file": {
            "type": "object",
            "additionalProperties": false,
            "properties": {
              "id": {
                "type": "string",
                "minLength": 1,
                "maxLength": 256
              },
              "name": {
                "type": "string",
                "maxLength": 512
              },
              "mime_type": {
                "type": "string",
                "maxLength": 256
              },
              "parents": {
                "type": "array",
                "items": {
                  "type": "string",
                  "maxLength": 256
                },
                "maxItems": 20
              },
              "drive_id": {
                "type": "string",
                "maxLength": 256
              },
              "web_view_url": {
                "type": "string",
                "maxLength": 2048
              },
              "created_at": {
                "type": "string",
                "maxLength": 64
              },
              "updated_at": {
                "type": "string",
                "maxLength": 64
              },
              "trashed": {
                "type": "boolean"
              },
              "revision": {
                "type": "string",
                "maxLength": 64
              },
              "size_bytes": {
                "type": "string",
                "maxLength": 32
              },
              "client_side_encrypted": {
                "type": "boolean"
              }
            },
            "required": [
              "id",
              "name",
              "mime_type",
              "client_side_encrypted"
            ]
          },
          "drive": {
            "type": "object",
            "additionalProperties": false,
            "properties": {
              "id": {
                "type": "string",
                "minLength": 1,
                "maxLength": 256
              },
              "name": {
                "type": "string",
                "maxLength": 512
              }
            },
            "required": [
              "id"
            ]
          }
        },
        "oneOf": [
          {
            "required": [
              "change_type",
              "file_id",
              "removed"
            ],
            "properties": {
              "change_type": {
                "enum": [
                  "file"
                ]
              }
            }
          },
          {
            "required": [
              "change_type",
              "removed"
            ],
            "properties": {
              "change_type": {
                "enum": [
                  "drive"
                ]
              }
            }
          }
        ]
      },
      "maxItems": 100
    },
    "next_page_token": {
      "type": "string",
      "maxLength": 512
    },
    "new_start_page_token": {
      "type": "string",
      "maxLength": 512
    }
  },
  "required": [
    "changes"
  ]
}