Download an eLearn document
elearn_download_documentDownload course documents from SMU eLearn to a local folder. Avoids overwriting existing files by adding numeric suffixes.
Instructions
Download a file topic to the configured local download directory. Existing files are never overwritten; a numeric suffix is added.
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": {
"courseId": "<courseId>",
"topicId": "<topicId>"
},
"name": "elearn_download_document"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| topicId | Yes | ||
| courseId | Yes | ||
| filename | No | ||
| destinationDir | No | Optional absolute destination directory. |