Select Mastery Path
select_mastery_pathChoose a branch at a module mastery path (conditional release) point to unlock that branch's assignments; preview first, then confirm, since the choice may not be reversible.
Instructions
Choose which branch to follow at a mastery path (conditional release) point in a module. Unlocks that branch's assignments and may not be reversible. [NEEDS CONFIRMATION: call it once for a preview and a confirm_token, show the preview to the user, and only if they say yes call it again with the same arguments, confirm=true and that confirm_token. Apps that can ask the user directly show a confirmation instead.]
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": {
"course_id": "<course_id>",
"module_id": "<module_id>",
"item_id": "<item_id>",
"assignment_set_id": "<assignment_set_id>"
},
"name": "select_mastery_path"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| confirm | No | Set to true together with confirm_token to carry out a request you already previewed. | |
| item_id | Yes | Module item ID (numeric string). Get it from list_module_items. | |
| course_id | Yes | Canvas course ID, a numeric string such as "12345". Get it from list_courses. | |
| module_id | Yes | Module ID (numeric string). Get it from list_modules. | |
| confirm_token | No | The one-time token from the preview. Only use it after the user has said yes. | |
| assignment_set_id | Yes | ID of the mastery path option to choose, from get_module_item. |