moodle_download
Download a Moodle file using the file URL from a moodle_browse result, saving it to the download folder or a chosen subdirectory.
Instructions
Download one Moodle file. Pass the fileurl from a moodle_browse result; the file is saved
under the download folder (optionally in subdir).
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": {
"fileurl": "<fileurl>"
},
"name": "moodle_download"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| subdir | No | ||
| fileurl | Yes | ||
| filename | No |