Skip to main content

Module handlers

Module handlers 

Source
Expand description

The database-backed tool handlers.

ModulesΒ§

bulk πŸ”’
Course-wide text and block replacement.
changesets πŸ”’
Changeset tools: listing, publishing, discarding and previewing staged changes.
exercise πŸ”’
The exercise tools: get_exercise and patch_exercise read and edit an exercise’s name, own deadline, task instructions and review instructions, and list_exercises lists a course’s exercises. Everything else of an exercise is read-only for agents.
guide πŸ”’
The guide tool: block schemas from the CMS and the hand-written topics.
history πŸ”’
History of agent write calls and reverting one of them.
patches πŸ”’
The four patch tools: page content, course structure, settings, glossary and references.
public_course πŸ”’
The read_public_course tool.
reads πŸ”’
The read-only tools: course listing, structure, page content, settings, glossary.
uploads πŸ”’
upload_file: stores an image or file for the course the way the CMS media upload does.

FunctionsΒ§

registry
Every tool with its handler, in tools/list order.