lms_get_resource
Download a Moodle learning file and retrieve its metadata by validating the URL against a host whitelist and using an authorized session.
Instructions
Безопасно скачать и получить метаданные учебного файла/документа из СЭО Moodle.
Проверяет URL по белому списку хостов (SSRF protection) и скачивает файл через авторизованную сессию.
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": "lms_get_resource"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| url | Yes |