Back to Connected apps

App Files List

Google Drive

Search Google Drive files created with or selected for Scrollport.

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

What this API does

Lists metadata only for Drive files created with ScrollPort. It cannot search the user's entire Drive, select an existing non-Workspace file or enumerate shared drives. Billed per upstream request at $0.0050; each response page is one request.

Agents select this operation with tool ID google-drive.app-files-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

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.app-files-list",
  "input": {
    "query": {
      "q": "trashed = false",
      "fields": "nextPageToken,files(id,name,mimeType,parents,createdTime,modifiedTime,webViewLink,size)",
      "pageSize": 1
    },
    "max_pages": 1
  }
}

Output

{
  "pages": 1,
  "results": [
    {
      "id": "1AbCdEfGhIjKlMnOpQrStUvWxYz",
      "name": "Launch plan",
      "parents": [
        "0AExampleFolderId"
      ],
      "mimeType": "application/vnd.google-apps.document",
      "createdTime": "2026-08-14T12:00:00.000Z",
      "webViewLink": "https://docs.google.com/document/d/1AbCdEfGhIjKlMnOpQrStUvWxYz/edit",
      "modifiedTime": "2026-08-15T09:30:00.000Z"
    }
  ]
}
Teaching errors and limitations
  • connection_required: This capability acts on your own Google Drive, which isn't connected yet.Open connect_url, approve access to files created with ScrollPort plus Docs, Sheets, Slides and Forms, then retry this run unchanged.
Updated
24 August 2026

Use App Files 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.