Read a Drive file
drive_readRead a Google Drive file as editable text—Docs to plain text, Sheets to CSV, Slides to plain text. For binary files, get a link instead of content.
Instructions
Read a file as text. Google Docs are exported to plain text, Sheets to CSV and Slides to plain text; ordinary text files are downloaded as they are. Binary files (PDF, images, archives) are refused with a link instead — this tool does not download them. Long content is truncated and says so.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| account | Yes | Configured account: the email address, or the alias given at setup. | |
| file_id | Yes | File id, as returned by drive_search. | |
| max_chars | No | Cut the content at this many characters. Default 60000. |