Download file
download_fileDownloads Google Classroom attachments and Drive files to disk, exporting Docs, Sheets, and Slides to a chosen format such as PDF, DOCX, or XLSX.
Instructions
Download a Classroom attachment (Drive file) to disk. Google Docs/Sheets/Slides are exported (default PDF for download; choose with export_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": "<file>"
},
"name": "download_file"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| file | Yes | Drive file id or any drive.google.com / docs.google.com link | |
| save_to | No | Directory or full file path (default /root/Downloads/classroom-mcp) | |
| export_format | No | For Google Docs/Sheets/Slides: pdf, docx, xlsx, pptx, txt, csv, html, md, png, or a MIME type |