Expand description
The read_public_course tool.
Structsยง
- Read
Public Course - Reads another courseโs published material as reference, as the course site shows it to the caller.
- Reading ๐
- The course being read, and who reads it.
- Target ๐
- The course and page a call names.
Constantsยง
- REFERENCE_
NOTICE ๐
Functionsยง
- add_
shown_ ๐tasks - Adds to
exercises_by_idthe tasks the course site shows the caller before answering, with their instructions and public specs, for the exercisesids. - block_
size ๐ - A blockโs size counts the exercises it brings along.
- blocks_
exercise_ ๐ids - exercise_
block_ ๐ids - Ids of the exercise blocks in
blockand its inner blocks, in page order. - invalid ๐
- listed_
page ๐ - normalize_
path ๐ pathin the stored form of page paths: no query or fragment, a leading/and no trailing one.Nonewhen nothing is left, so an empty path reads the outline, not the front page.- open_
public_ ๐course - The course
course_slugnames, if the course site lets the caller open it. - outline ๐
- outline_
chapter ๐ - page ๐
- parse_
target ๐ - take_
within ๐ - Takes items while they fit
budget_bytes, at least one, measuring none past the last taken;truewhen items were left over.