Permissions List

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

by Google DriveRequires connected account$0.0025 per request · $0.25 per 100 requests

Example

You ask your agent

“Who has access to my doc?”

You get

Display name
Example User
Role
owner
Type
user
Email address
user@example.com
What your agent sends and gets back (JSON)

Your agent works out the exact inputs, such as IDs, dates and settings, from what you ask.

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": 1,
      "supportsAllDrives": true
    },
    "max_pages": 1
  }
}

Response

{
  "pages": 1,
  "results": [
    {
      "id": "permission-output-id",
      "role": "owner",
      "type": "user",
      "displayName": "Example User",
      "emailAddress": "user@example.com"
    }
  ]
}

Use it with your agent

Copy the prompt and paste it into your agent, then tell it what you need.

Read https://scrollport.com/start. Use my existing Scrollport connection, or help me connect if needed. Help me use Permissions List (tool ID: google-drive.permissions-list). Ask me for the details you need, then show me the result. Help me connect the required app account if needed.

Your agent will also help you connect your app account the first time.

No agent yet? Create your account on the web and connect one from your dashboard later.

Other tools for this job

Compare all 14 →

Questions

Is Permissions List by Google Drive free?

Scrollport has no free tier: it costs $0.0025 per request ($0.25 per 100 requests), paid per use from a prepaid wallet with no subscription. Connecting your first agent adds $1 of trial credit, so you can try it before adding funds.

Do I need my own Google account?

Yes. It works in the Google account you connect to Scrollport, with the access you approve. Scrollport does not provide Google accounts.

Details

About this tool

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

All inputs and outputs

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
resultsarray

Result records.

Errors and limits
  • 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.