File Get

Retrieve metadata and links for one 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

“Show me the details of my “Launch plan” file in Google Drive.”

You get

Name
Launch plan
MIME type
application/vnd.google-apps.document
Created time
2026-08-14 12:00 UTC
Web view link
https://docs.google.com/document/d/1AbCdEfGhIjKlMnOpQrStUvWxYz/edit
Modified time
2026-08-15 09:30 UTC
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.file-get",
  "input": {
    "path": {
      "fileId": "YOUR-GOOGLE-DRIVE-FILE-ID"
    },
    "query": {
      "fields": "id,name,mimeType,parents,createdTime,modifiedTime,webViewLink,size",
      "supportsAllDrives": true
    }
  }
}

Response

{
  "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"
}

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 File Get (tool ID: google-drive.file-get). 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 File Get 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

Retrieves metadata and links for one Drive file by id, including shared-drive files when requested. Always one upstream request at $0.0025.

All inputs and outputs

Input

pathobject · required

Identifier path for the authorised connected-app record.

queryobject · optional

Search terms used to find relevant records.

Output

createdTimestring

When the record was created.

idstring

Identifier of the record.

mimeTypestring
modifiedTimestring
namestring

Name of the record.

parentsarray
webViewLinkstring
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.