read_file_as_text
Read a Google Drive file's content as text, one chunk at a time. Supports Google-native files and PDFs with paging metadata.
Instructions
Read a file's content as text, one bounded chunk at a time.
Google-native files are exported; PDFs are text-extracted. Returns the requested chunk
(0-based) in `content` plus name, mime_type, and paging metadata (total_chunks,
total_chars, has_more) — page through by incrementing chunk. Set max_chars<=0 for the
whole document.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| item | Yes | ||
| chunk | No | ||
| max_chars | No |