drive_read
Read Google Docs as plain text or Google Sheets as CSV using a file ID, so you can extract content for analysis or processing without modifying the source file.
Instructions
读取 Google 文档/表格内容为文本(Docs→txt,Sheets→csv)。只读。
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"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| fileId | Yes | 文件 id(来自 drive_search) | |
| mimeType | No | 导出格式:text/plain(Docs 默认)或 text/csv(Sheets),默认 text/plain |