Link grading to a class
link_grading_to_classLinks a grading session to a workspace class so results feed class insights. Exact roster-name matches link automatically; explicit essay-handle to student-handle matches resolve remaining essays. Returns unmatched essays. A null classId removes the class link.
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": {
"sessionId": "<sessionId>",
"classId": "<classId>",
"matches": "<matches>"
},
"name": "link_grading_to_class"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| classId | Yes | Class id from list_classes, or null to unlink. | |
| matches | Yes | ||
| sessionId | Yes | Grading session id from list_grading_sessions or create_grading_session. |
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. |