Tracecat
Book a demo

Google Drive integration

List, create, delete, and share Google Drive files and folders.

Productivity
11 actions
tools.google_drive
Also available as an MCP server. Connect agents to the Google Drive MCP server.

How it works

Each Google Drive action is a YAML template or Python function in Tracecat's open-source registry, under tools.google_drive. Add an action as a step in a workflow, or give it to an agent as a tool.

Credentials

Add these in Tracecat before running the actions. How credentials work

  • Secret google_api (optional) with GOOGLE_API_CREDENTIALS and optional GOOGLE_API_SUBJECT
  • OAuth connection google_drive_oauth (optional)

Actions

Missing an integration? Write your own actions in YAML or Python in a custom registry and sync them from your Git repository.

  • Add Drive permission

    Grant access to a file or folder

  • Create Drive folder

    Create a new folder in Google Drive

  • Delete Drive file

    Move a file or folder to trash

  • Get Drive file

    Get metadata for a specific file

  • Get Drive file permissions

    List all permissions for a file

  • List Drive files

    List and search files in Google Drive

  • Permanently delete Drive file

    Permanently delete a file (bypass trash)

  • Query Drive activity

    Query past activity in Google Drive.

  • Revoke Drive permission

    Remove access to a file or folder

  • Update Drive permission

    Modify an existing permission

  • Upload Drive file

    Upload a file to Google Drive

Automate Google Drive with Tracecat

Open-source workflows and agents for security teams.