cms_read_file
Extracts text from course files (PDF, PPTX, DOCX, plain text) for reading, summarizing, or quizzing. Handles long files in parts by passing next_start as start.
Instructions
Extract the text of a course file (PDF, PPTX, DOCX or plain text) so it can be read,
summarised or quizzed on. Get content_id from cms_course_content.
Long files come back in parts: pass the returned next_start as start 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": {
"course": "<course>",
"content_id": "<content_id>"
},
"name": "cms_read_file"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| start | No | ||
| course | Yes | ||
| max_chars | No | ||
| season_id | No | ||
| content_id | Yes |