drive_export
Extract the inside of Google Docs, Sheets, and Slides as text in multiple formats. Retrieve actual content when file metadata is not enough.
Instructions
Read the CONTENT of a Google Doc, Sheet or Slide as text. drive_get_file returns metadata only, so this is the one to use when you need what is inside.
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_export"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| fileId | Yes | ||
| mimeType | No | text/plain, text/markdown, text/csv or application/pdf | text/plain |