open_item
Retrieve any course item's content by ID—files, assignments, pages, forum discussions, folders, links, and quiz info.
Instructions
Open any course item by id and return its content.
- file (resource): the extracted text. Long PDFs return a page map (one line per page)
first; then call again with pages="12-14" for just the pages you need
- assignment: instructions, dates, attachments, your submission status and grade
- page: its text
- forum: latest discussions (read one with read_discussion)
- folder: its files (read one with read_file)
- link (url): the target URL
- quiz: open/close dates, time limit, attempts, best grade
Args:
item_id: The [id ...] from course_overview, search or upcoming_deadlines.
pages: For PDFs, which pages to read, e.g. "1-5", "2,4,10-12" or "all".
max_chars: Maximum characters of file text to return; longer PDFs get a page map.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| pages | No | ||
| item_id | Yes | ||
| max_chars | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |