minerva_download_attachment
Downloads a Minerva content attachment or embedded item to the local Downloads/minerva folder and returns the saved file path for further use.
Instructions
Download a file from a content item (an attachment id, or an "embedded-N" id from minerva_get_content) into the local Downloads/minerva folder and return its 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": {
"courseId": "<courseId>",
"contentId": "<contentId>",
"attachmentId": "<attachmentId>"
},
"name": "minerva_download_attachment"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| account | No | Saved account to use (see minerva_list_accounts). Only needed when several accounts are saved and the user has not chosen one yet. | |
| courseId | Yes | Course primary id like "_123456_1" (from minerva_list_courses), or the course code | |
| contentId | Yes | ||
| attachmentId | Yes |