drive_get_file_content
Preview Google Drive file content by file ID, returning the first 10,000 characters with metadata. Use for quick text inspection; for large files prefer download.
Instructions
Get a preview of file content from Google Drive (default: first 10,000 characters). Returns truncated text with metadata (fileName, totalSize, truncated flag). For full content use drive_get_full_file_content. For large/binary files prefer drive_download_file to save to disk instead.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| fileId | Yes | The file ID | |
| maxChars | No | Maximum characters to return (default: 10000). Set higher only if you need more context. | |
| accountId | Yes | The Google account ID, alias, or email |