ilias_read_file
Read text from ILIAS course files by ref_id or download URL, including selected pages, keyword snippets, and continuation for long pages.
Instructions
Text of a course file (PDF, PPTX, DOCX, text, ZIP) by ref_id or download URL.
Without pages, returns only pages not read before; an unchanged, fully read
file returns status 'already_read'. pages='2-4,7' re-opens specific pages.
query='deadline|due|submit' returns keyword snippets instead of full text
(not counted as read). force=true returns everything again. A page longer
than max_chars is cut: the answer then has continue_with (pages, offset,
version); pass all three to the next call. If the file changed in between,
the new version is returned from the start of the page.
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": {
"target": "<target>"
},
"name": "ilias_read_file"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| force | No | ||
| pages | No | ||
| query | No | ||
| offset | No | ||
| target | Yes | ||
| version | No | ||
| max_chars | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |