Expand description
Shared course resolution for tools that can act on a course other than the one the chatbot is on.
Constants§
- COURSE_
ID_ ARGUMENT_ DESCRIPTION - Shared schema description for the
course_idargument of every course-material tool (course_structure,document_lookup) that accepts the lenient sentinel form.
Functions§
- material_
requirements - Material access to
course_id, or nothing to check when the call names no course at all — such a call fails on its arguments, which is a clearer answer for the model than a denial. - resolve_
course_ scope - Resolves which course a material tool acts on: the one the call names, or the chatbot’s own when it names none.