moodle_download_file
Download a Moodle file by providing its pluginfile.php URL; returns the content as decoded text. Works only with internal Moodle links for UNSW courses.
Instructions
下载 Moodle 上的文件。url 传 pluginfile.php 开头的完整链接(从其他工具的返回里拿),只接受 Moodle 站内地址。返回内容按文本解码。
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 |