download_attachment
Generates a short-lived download URL for a student-visible lecture file using lectureId plus unitId or attachmentId, so students can retrieve the file.
Instructions
Mint a short-lived downloadUrl for one student-visible lecture file. Thin alias for download_file: pass lectureId and the material's unitId, or lectureId and attachmentId for a lecture-level file. Read-only. Requires HTTP mode.
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": {
"lectureId": "<lectureId>"
},
"name": "download_attachment"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| unitId | No | ||
| lectureId | Yes | ||
| attachmentId | No |