moodle_open
Open a course item by module ID to retrieve page, label, link, and PDF text, save attachments locally, and paginate long PDFs for continued reading.
Instructions
Open one item from moodle_course by its [module id]: returns the text of pages, labels, links and PDFs,
and saves attached files under ~/Downloads/moodle//. Long PDFs come back in parts (about 40,000
characters each); call again with start_page to read the rest. Give course (id or name) to make it faster.
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": {
"module_id": "<module_id>"
},
"name": "moodle_open"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| course | No | ||
| module_id | Yes | ||
| start_page | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |