Get quiz settings
quiz_settings_getRead one graded quiz's pass mark and attempt limit, and the course's completion rule, without loading the whole course. The quiz id is the id of a block of type "quiz" in course_content_get (outcome quizzes, type "scoreQuiz", have no pass mark). Returns {courseId, quizBlockId, title, passMarkPercent, maxAttempts (0 means unlimited), completeOnlyOnPass, completionRule {type: "all_content", "quiz_passed" or "progress_pct" with minProgressPct}, courseQuizCount (graded quizzes that count toward completion), version (the content version read)}. An id that is not a graded quiz in the course's current content is a not-found error that lists the course's quiz ids and titles. Change these values with quiz_settings_update.
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"courseId": "<courseId>",
"quizBlockId": "<quizBlockId>"
},
"name": "quiz_settings_get"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| courseId | Yes | Course id, as returned by course_list. | |
| quizBlockId | Yes | The quiz block's `id` from course_content_get (a block of type "quiz"). |