drive_read_file
Read the text content of Google Drive files, including Google Docs and plain text, using a file ID from drive_list_files or drive_search_files.
Instructions
Read the text content of a file in Google Drive. Works for Google Docs, plain text, and other text-based 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": {
"email": "<email>",
"fileId": "<fileId>"
},
"name": "drive_read_file"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| Yes | The authenticated Google account. | ||
| fileId | Yes | The file ID (from drive_list_files or drive_search_files). |