Get Lea Document
get-document-linkRetrieve a Lea course document from Omnivox as an expiring browser link or local file path for viewing or download.
Instructions
Fetch a Lea document. In HTTP mode with MCP_SERVER_URL set, returns a browser link that expires after 15 minutes; otherwise saves the file locally and returns its path. Marks the document as read on Omnivox, so use get-course-documents first if you are only browsing.
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_id": "<course_id>",
"document_id": "<document_id>"
},
"name": "get-document-link"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| term_id | No | Academic term ID in YYYYN format (e.g. '20263'). | |
| course_id | Yes | Full course ID including group number (e.g. '2433C5EM.1012'). Always required, even for document and assignment downloads where the item ID alone looks sufficient. | |
| document_id | Yes |