drive_read_file_text
Reads a Google Drive file as text: Google Docs as Markdown, Sheets as CSV of the first tab, Slides as text, or plain text, CSV, and JSON files. Set maxChars to limit output length.
Instructions
Read a file's content as text: Google Docs (markdown), Sheets (CSV of first tab), Slides (text), or plain text/CSV/JSON files.
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"fileId": "<fileId>"
},
"name": "drive_read_file_text"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| fileId | Yes | ||
| maxChars | No |