Read a file's contents from Drive
read_gdrive_fileOpen one file and return what is in it. Google Docs and Slides come back as text; text, CSV, JSON, HTML and code files come back as themselves; images come back as pictures the assistant can look at. Spreadsheets are refused in favour of read_google_sheet_range, and PDFs cannot be read yet. Get the id from list_gdrive_items or search_gdrive_items.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| itemId | Yes | ||
| mailbox | Yes | Email address of the connected Gmail/Google Workspace mailbox to act on. Call list_authorized_mailboxes to see available options. |