Score submission
score_submissionSets the teacher's score on sections of one submission (submission item ids), optionally with written feedback. Works in any scoring mode. Says whether the student sees it yet; to undo, set the sections back to the previous scores this returns.
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>",
"submissionId": "<submissionId>",
"itemScores": "<itemScores>"
},
"name": "score_submission"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| itemScores | Yes | ||
| assignmentId | Yes | Assignment id from list_coursework or list_submissions_to_review. | |
| itemFeedback | No | ||
| submissionId | Yes | Submission id from list_submissions_to_review. | |
| overallFeedback | No |
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. |