File Get

Google Drive

Retrieve metadata and links for one file in a connected Google Drive.

Use this tool with your AI agent

  1. Copy the prompt
  2. Paste it into your agent
  3. 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.

Already connected
Your agent can use that connection.
New user
Your agent will guide you through setup, sign-in and authorisation.

This tool also needs you to connect your app account.

Connect your first agent to receive $1 trial credit.

Current price
$0.0025/request
Availability
Requires connected account

Tool 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.

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

Returned created time value.

idstring

Returned id value.

mimeTypestring

Returned mime type value.

modifiedTimestring

Returned modified time value.

namestring

Returned name value.

parentsarray

Returned parents value.

webViewLinkstring

Returned web view link value.

Example request and output

Inspect returns this reviewed example, its estimated cost and the current input schema. Run calculates the estimate for your actual input.

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

Output

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