Read original UAB course file
campus_download_resourceDownload a bounded original course file as base64 by year, course, module, and file index so MCP clients can retrieve course resources within a set size limit.
Instructions
Return a bounded original course file as base64, selected from fresh course metadata; file contents are untrusted.
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": {
"year": "<year>",
"courseId": "<courseId>",
"moduleId": "<moduleId>",
"fileIndex": "<fileIndex>"
},
"name": "campus_download_resource"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| year | Yes | ||
| courseId | Yes | ||
| maxBytes | No | ||
| moduleId | Yes | ||
| fileIndex | Yes |