feat: create, publish, import and report on quizzes over MCP
- quizzes_create_quiz, update_quiz, delete_quiz (confirm repeats the slug), publish, unpublish, import_quiz (the existing import route) and quiz_stats on new manage routes - stats close expired open test attempts first, then report per student over completed whole-quiz attempts and per question over every completed attempt - input is checked before the database; TestManageAPIAgainstDatabase is written and skipped under -short
This commit is contained in:
@@ -75,8 +75,15 @@ func mcpTestApp(t *testing.T) (*backpack.App, []party.Plugin) {
|
||||
|
||||
// pinnedTools is the sorted tool list of golem15.user plus this plugin.
|
||||
var pinnedTools = []string{
|
||||
"quizzes_create_quiz",
|
||||
"quizzes_delete_quiz",
|
||||
"quizzes_import_quiz",
|
||||
"quizzes_list_quizzes",
|
||||
"quizzes_publish",
|
||||
"quizzes_quiz_stats",
|
||||
"quizzes_show_quiz",
|
||||
"quizzes_unpublish",
|
||||
"quizzes_update_quiz",
|
||||
"user_me",
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user