← Docs

Docs · Connector reference

Google Drive connector reference

Operations, inputs, troubleshooting, and questions for the Google Drive connection. Policy decides each change before the credential is resolved, and the action record carries the result.

Set up and verify the Google Drive connection

  1. Choose one task and its account, and match the reads and actions on the overview page to it before granting provider permissions.
  2. Prepare the connection settings from the overview page, connect the provider in Deixic, and choose which tools your agent can use.
  3. Try a small task with a known result, and compare the returned identity and resource with what the account owner expects.
  4. Configure approval for sensitive changes, review the destination and inputs, and check the result in the provider before expanding the workflow.

Information your agent can use

ResourceRecord identityStart withPage coverage
FilesidTop levelCursor
Record identity
Match on these fields before joining or deduplicating results; where none is specified, check the returned record first.
Start with
Resolve the parent identifier first.
Cursor
Cursor pagination. Continue from the returned cursor; an initial page is not a complete inventory.

Supported operations

Review the inputs before granting an action to an agent. Required inputs must be supplied, optional inputs narrow the request, and provider permissions apply in addition to Deixic policy.

Action
Can change provider state; review the target and inputs, then retain the result to avoid repeating completed work.
Read
Retrieves information; check the returned scope and identifiers before use.
OperationEffectApprovalProvider permissionsInputs
Drive Create FileActionApproval requiredhttps://www.googleapis.com/auth/drive.file4
Drive Update FileActionApproval requiredhttps://www.googleapis.com/auth/drive.file4
Drive Files ListReadBy policyhttps://www.googleapis.com/auth/drive.readonly4
Drive Files GetReadBy policyhttps://www.googleapis.com/auth/drive.readonly1
Drive Files ExportReadBy policyhttps://www.googleapis.com/auth/drive.readonly2
Google Drive File Metadata GetReadBy policyhttps://www.googleapis.com/auth/drive.file1
Drive File RenameActionApproval requiredhttps://www.googleapis.com/auth/drive.file2

Inputs by operation

Drive Create File Action · approval required
Inputs for Drive Create File
InputRequirementAccepted value
descriptionOptionalstringMaximum characters: 10000
mime_typeOptionalstringMaximum characters: 256
nameRequiredstringMinimum characters: 1Maximum characters: 512
parent_idOptionalstringMaximum characters: 1024
Drive Update File Action · approval required
Inputs for Drive Update File
InputRequirementAccepted value
descriptionOptionalstringMaximum characters: 10000
file_idRequiredstringMinimum characters: 1Maximum characters: 1024
nameOptionalstringMaximum characters: 512
trashedOptionalboolean
Drive Files List Read
Inputs for Drive Files List
InputRequirementAccepted value
order_byOptionalstringMinimum characters: 1Maximum characters: 64
page_sizeOptionalintegerMinimum: 1Maximum: 100
page_tokenOptionalstringMinimum characters: 1Maximum characters: 2048
queryOptionalstringMinimum characters: 1Maximum characters: 1024
Drive Files Get Read
Inputs for Drive Files Get
InputRequirementAccepted value
file_idRequiredstringMinimum characters: 1Maximum characters: 1024
Drive Files Export Read
Inputs for Drive Files Export
InputRequirementAccepted value
file_idRequiredstringMinimum characters: 1Maximum characters: 1024
mime_typeRequiredstring; one of: text/plain, text/csv, text/markdown, text/html
Google Drive File Metadata Get Read
Inputs for Google Drive File Metadata Get
InputRequirementAccepted value
file_idRequiredstringMinimum characters: 1Maximum characters: 256
Drive File Rename Action · approval required
Inputs for Drive File Rename
InputRequirementAccepted value
file_idRequiredstringMinimum characters: 1Maximum characters: 256
nameRequiredstringMinimum characters: 1Maximum characters: 512

When the Google Drive task does not produce the expected result

Connected, but the expected data is missing

Check the identity behind the oauth connection and its access to the specific resource; a successful connection does not establish access to every object.

Compare the lookup against one known record first, and keep an empty response separate from a permissions error.

The answer covers only part of the data

Check the resource’s page coverage, query filters, and result limit, and have the agent state the account and time window it inspected, so a partial response yields a scoped answer.

The agent keeps doing the same work

Inspect the action history for repeated targets and inputs, keep the successful result’s identifiers with the task, and refresh a lookup only when the information changed.

A change is waiting or failed

Check whether the call awaits approval, was rejected by policy, lacks an input, or failed at the provider, and after a timeout inspect the destination before repeating a write.

See how an action proceeds and how to review an approval.

Questions about the Google Drive connector

Can I use my existing agent with Google Drive?

Yes: connect your agent to Deixic through MCP, choose which connected tools it can use, and Deixic checks calls routed through its gateway; Dex is available if your team also wants an agent.

Can an agent change data in Google Drive?

This connector supports 1 action, listed on its overview page. Configure a connection and choose the tools and provider permissions your task needs; an available action is not permission for every agent to run it, and Deixic policy and any required approval still apply to calls through the gateway.

What do I need to connect Google Drive?

Prepare Client ID, Client secret, Access token, Refresh token; the connection uses OAuth, and the connected identity’s provider permissions determine which resources it can access.

Does connecting Google Drive keep every answer up to date?

No: an earlier answer is still an earlier answer, so for a decision that depends on current state, have the agent refresh the source and retain the lookup time, and save stable instructions separately from facts that can change.