Preview correcting an answer key
prepare_correct_answer_keyCreates an owner-bound confirmation preview for correcting a published multiple-choice key, including how many students gain or lose points. Accepts assignment section and question numbers. Keys and scores remain unchanged until approved preview execution.
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": {
"assignmentId": "<assignmentId>",
"sectionNumber": "<sectionNumber>",
"questionNumber": "<questionNumber>",
"correctAnswers": "<correctAnswers>",
"shareCorrection": "<shareCorrection>"
},
"name": "prepare_correct_answer_key"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| note | No | A note for Fiveable with the shared fix. | |
| explanation | No | Why this answer is right, in the teacher's words; defaults to the current explanation. | |
| assignmentId | Yes | Assignment id from list_coursework. | |
| sectionNumber | Yes | 1 for the assignment's first section. | |
| correctAnswers | Yes | The right answer letters, e.g. ["C"]. | |
| questionNumber | Yes | Question number within that section. | |
| shareCorrection | Yes | Also send the fix to Fiveable so the question is corrected for everyone. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| text | No | Readable tool result text for clients that consume structured output. | |
| status | Yes | Operation status: completed, pending, partial, failed, unavailable, or a domain-specific outcome. |