download_course_materials
Download course materials and files for a specified course ID into a custom local folder, with an option to fetch only new files and return a download result list.
Instructions
【學生課程教材下載】下載指定課程的課堂教材與檔案,支援自訂本機存放資料夾(例如:eeclass_教材/行政法一 或自訂路徑)。外掛實體接收此指令後自動擷取檔案並歸檔至指定目錄,並有效回傳下載結果清單與外掛確認 ACK。
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>"
},
"name": "download_course_materials"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| courseId | Yes | 欲下載教材之課程 ID(例如 35657) | |
| onlyNewFiles | No | 是否僅下載尚未同步過的新檔案 | |
| targetDirectory | No | 本機教材存放資料夾路徑或子目錄名稱 | eeclass_教材 |