read_attachment
Read a Google Classroom attachment from its Drive, Docs, Slides, or Sheets link or file ID, returning text, CSV, or a local cached file path for uploaded files.
Instructions
Read a file attached in Classroom: pass its Google Drive / Docs / Slides / Sheets link (or file id). Docs and Slides come back as text, Sheets as CSV. Uploaded files (PDF, Word, PowerPoint, code, zip, ...) are saved under classroom-mcp's private cache folder and their local path is returned; .docx, .pptx and text files also come back as text (PDFs too if pypdf is installed).
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": {
"link": "<link>"
},
"name": "read_attachment"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| link | Yes |