Read Drive file
read_drive_fileReads a file the signed-in person can open in Google Drive (theirs or shared with them) by file_id. Docs/Sheets/Slides export as text; PDF and images as base64 (5 MB max). Read-only. Sign-in required.
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": {
"file_id": "<file_id>"
},
"name": "read_drive_file"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| file_id | Yes | Drive file id from search_my_drive. |