read_course_file
Retrieve a cached course file by ID, including PDF content or extracted page-by-page text; use page limits to narrow long documents.
Instructions
Contents of a cached course file by id: the document itself (PDFs up to 10 MiB), or with as_text its extracted text per page, which also works for larger PDFs. Narrow long documents with first_page/last_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": {
"file_id": "<file_id>"
},
"name": "read_course_file"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| as_text | No | ||
| file_id | Yes | ||
| last_page | No | ||
| first_page | No |