drive_read
Read a file from the registered Google Drive folders: a Google Doc or Slides file as text, a Sheet as rows of values (the first sheet, or range such as 'Sheet1'!A1:D20), or a plain-text file. Up to 2 MB of text. PDF and Office files are not read here: use drive.import to bring them into the workspace's files. file is a Drive id or a pasted link.
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": "<file>"
},
"name": "drive_read"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| file | Yes | Drive id or pasted link. | |
| range | No | Sheets only: A1 range, e.g. 'Sheet1'!A1:D20. Default: the first sheet. | |
| in_workspace | No | Run this one call in this workspace id instead of the session's. Nothing is stored; other sessions are not affected. |