moodle_download_file
Downloads a course file from a Moodle URL to local disk, with an optional destination path.
Instructions
Download a course file (pluginfile.php / resource) to the local disk.
Args: url: file URL from a course or assignment page. dest: optional destination path; defaults to ~/Downloads/moodle-um/.
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": {
"url": "<url>"
},
"name": "moodle_download_file"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| url | Yes | ||
| dest | No |