readFile
Read the full text of a .docx or .pdf from Google Drive by file ID when Word documents or PDFs cannot be accessed with readDocument.
Instructions
Read the full text content of a .docx or .pdf file from Google Drive by file ID. Use this for Word documents and PDFs that cannot be read with readDocument.
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": "readFile"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| fileId | Yes | The Google Drive file ID |