download_file
Download course content topics or assignment attachments from Brightspace to a local folder. Provide the course and either topicId or assignmentId with fileId to save files directly.
Instructions
Save a file locally: a content topic (topicId) or an assignment attachment (assignmentId + fileId from get_assignment).
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>"
},
"name": "download_file"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| dir | No | Target directory. Default ~/Downloads/brightspace/<course>/. | |
| course | Yes | Course: org unit id (e.g. 123456) or text like "cs310", "CSCI-UA 480", "algorithms", "OS". | |
| fileId | No | ||
| topicId | No | ||
| assignmentId | No |