download_module
Download all files from a Moodle course resource or folder and return their saved file paths for local access.
Instructions
Download the files of a course resource or folder; returns the file paths.
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": {
"account": "<account>",
"cmid": "<cmid>",
"module": "<module>"
},
"name": "download_module"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| cmid | Yes | ||
| module | Yes | ||
| account | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |