download_document
Download a course document or whole folder as a zip from eClass by its path, saving it locally and returning the file path.
Instructions
Download a document (or a whole folder as a zip) by its path from
list_documents. Saves under ~/Downloads/eclass// unless a destination
directory is given, and returns the local file path.
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": {
"course": "<course>",
"path": "<path>"
},
"name": "download_document"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| path | Yes | ||
| course | Yes | ||
| destination | No |