Back to Cloud file access review

Permissions List

Google Drive

List the users, groups, domains, and links that can access a file in a connected Google Drive.

Current price
$0.0050/call
Availability
Connected app
Last accepted verification

What this API does

Lists permissions for one Drive file, including user, group, domain, and link roles returned by Google. Billed per upstream request at $0.0050; each response page is one request.

Agents select this operation with tool ID google-drive.permissions-list, then inspect its current executable contract before a run.

Public input and output shape

Input

max_pagesinteger · optional

Maximum number of result pages to request.

minimum: 1 · maximum: 10

pathobject · required

Identifier path for the authorised connected-app record.

queryobject · optional

Search terms used to find relevant records.

Output

pagesnumber

Returned pages value.

resultsarray

Returned results value.

Example request and output

This reviewed worked example is shared with inspect. Inspect also returns the current executable schema and price estimate before a paid run.

Request

{
  "tool_id": "google-drive.permissions-list",
  "input": {
    "path": {
      "fileId": "YOUR-GOOGLE-DRIVE-FILE-ID"
    },
    "query": {
      "fields": "nextPageToken,permissions(id,type,role,displayName,emailAddress,domain,allowFileDiscovery)",
      "pageSize": 10,
      "supportsAllDrives": true
    },
    "max_pages": 1
  }
}

Output

{
  "pages": 1,
  "results": [
    {
      "id": "permission-output-id",
      "role": "owner",
      "type": "user",
      "displayName": "Example User",
      "emailAddress": "user@example.com"
    }
  ]
}
Teaching errors and limitations
  • connection_required: This capability acts on your own Google Drive, which isn't connected yet.Open connect_url, approve Google Drive read and write access, then retry this run unchanged.
Updated
22 August 2026

Use Permissions List with Scrollport

Scrollport validates tools for connected apps and provides them on a pay-as-you-go basis so your agent can use accounts you already own without receiving sensitive API keys.

Give your agent the setup prompt to receive $1 in trial credit and start using the tools right away.