download_file
Create a short-lived, single-use download URL for one student-accessible Artemis file, such as lecture attachments, announcement files, or your own submissions.
Instructions
Mint a short-lived downloadUrl for one student-accessible Artemis file. path may be a full https URL on this server, an absolute /api/core/files/... path, or the relative form Artemis returns under api/core/files/. The result includes name, mimeType, expiresAt, and the normalized path. The URL is single-use and the server fetches the file only when that URL is opened. Allowed files are lecture attachments, conversation and announcement files, problem-statement files, the student's own file-upload submissions, slide images, and course icons. Read-only. Does not fetch other hosts or other paths. 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": {
"path": "<path>"
},
"name": "download_file"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| path | Yes |