download_resource
Download a course file or folder from Moodle to your local materials directory while preserving previous versions. Use it to sync approved course content and keep an audit trail of updates.
Instructions
Download a discovered file/folder module in an approved course to the approved materials directory. Keep old versions.
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>",
"moduleId": "<moduleId>"
},
"name": "download_resource"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| courseId | Yes | ||
| moduleId | Yes |