tool_prepare_answer_key
Extract all assignment questions, answers, and explanations to create a complete answer key for grading preparation in Gradescope.
Instructions
Prepare a complete answer key for an entire assignment.
Extracts ALL questions from the outline (prompt text, reference answers,
explanations) and saves to /tmp/gradescope-answerkey-{assignment_id}.md.
Run this ONCE before grading to avoid re-fetching question details.
Args:
course_id: The Gradescope course ID.
assignment_id: The assignment ID.
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>",
"assignment_id": "<assignment_id>"
},
"name": "tool_prepare_answer_key"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| course_id | Yes | ||
| assignment_id | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |