moodle_file_text
Extract readable text from Moodle course files (PDF, DOCX, PPTX, XLSX, HTML, plain text) using a file URL; continue long files by calling again with an offset.
Instructions
Text of a Moodle file (PDF, DOCX, PPTX, XLSX strings, HTML, plain text) from a fileurl returned by
another tool. Long files come back in slices: call again with offset to continue.
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_file_text"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| offset | No | ||
| fileurl | Yes | ||
| max_chars | No |