Get document content
get_document_contentGet the text content of a specific document, lecture session, or flashcard set. Use this when you need to read the actual content of a material to answer questions about it. Each call returns at most 12000 characters; long documents are read in parts with page or offset, and the result's note says which part you got and how to read the rest.
Tool call template
This tool declares no required parameters. Add optional parameters from the input schema as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {},
"name": "get_document_content"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| page | No | Start reading at this page (e.g. 16 when the student asks about page 16). Works when the text has page headings; the result says if it does not. | |
| offset | No | Character offset to start reading from. Pass the nextOffset of the previous result to read the next part of a long document. | |
| documentId | No | Document ID to reference | |
| flashcardSetId | No | Flashcard set ID to reference | |
| lectureSessionId | No | Lecture session ID to reference |