ntulearn_get_course_contents
Retrieve a course's content tree: list top-level folders, documents, links, and assignments, or pass a parent ID to drill into children with pagination.
Instructions
Walk a course's content tree. Omit parent_id to get the top-level items (folders, documents, links, assignments); pass parent_id of a folder/lesson where hasChildren=true to drill into its children. Supports pagination.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| limit | No | Max items to return per call (1–200, default 50). Use small values to keep results within the LLM's context. | |
| offset | No | Number of items to skip for pagination. Use the nextOffset value returned by a previous call to walk pages. | |
| course_id | Yes | Blackboard course ID (e.g. _12345_1) | |
| parent_id | No | Optional content item ID of a folder/lesson to list children of. Omit to list the course's top-level items. | |
| response_format | No | 'json' returns a structured payload (default, recommended for agents). 'markdown' returns a human-readable summary. | json |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| count | Yes | ||
| items | Yes | ||
| limit | Yes | ||
| total | Yes | ||
| offset | Yes | ||
| hasMore | Yes | ||
| nextOffset | No |