read_file
Read the content of any file from Google Drive, automatically converting Google Docs, Sheets, and Slides to text or CSV format.
Instructions
Read the content of a file from Google Drive. Google Docs/Sheets/Slides are automatically exported to text/CSV format.
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_file"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| file_id | Yes | The ID of the file to read. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |