Read a Google Drive file's text or binary content as the calling member
Changed onReads a Drive file. Docs and Slides export as plain text; Sheets exports the first tab as CSV; PDFs up to 50 MB return their extracted text when that is enabled for the organization. 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.
Request
- Base URLhttps://api.openworklabs.com
- Auth
- API key in header x-api-key
- or HTTP bearer
Path parameters
Google Drive file id.
Response
Google Drive file returned.
Changes
- warning
added the new
extraction_timed_outenum value to thefile/contentUnavailableReason/anyOf[subschema #1]response property for the response status - warning
added the new
no_extractable_textenum value to thefile/contentUnavailableReason/anyOf[subschema #1]response property for the response status - info
added the optional property
file/contentUnavailableHintto the response with the status
- warning