Capability Sources

Read a Google Drive file's text or binary content as the calling member

Changed on

Reads a Drive file. Docs and Slides export as plain text; Sheets exports the first tab as CSV. For every spreadsheet tab or edits use the spreadsheet metadata and values capabilities. Downloaded content is bounded; binary files use standard base64 within the model-safety limit. To analyze or edit a whole file (Office, PDF, large CSV), pull it into the workspace with the drive_pull_file tool instead, or with createGoogleDriveDownloadLink from a shell.

get/v1/capabilities/google-workspace/drive-file/{fileId}

Request

  • Base URL: https://api.openworklabs.com
  • URL: https://api.openworklabs.com/v1/capabilities/google-workspace/drive-file/{fileId}
  • Auth: one of:
    • API key in header x-api-key
    • HTTP bearer

Path parameters

fileIdstring required

Google Drive file id.

Response

Google Drive file returned.

oktrue required

Changes

    • info

      added the optional property to the response with the status

    • info

      the endpoint scheme security bearerAuth was added to the API

    • info

      the endpoint scheme security denApiKey was added to the API