classroom_patch_assignment
Update selected fields of an existing Google Classroom assignment by specifying an update mask, so you can change only the details you need.
Instructions
Update specific fields of an existing assignment using updateMask.
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": {
"courseId": "<courseId>",
"id": "<id>",
"updateMask": "<updateMask>"
},
"name": "classroom_patch_assignment"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| id | Yes | Assignment ID | |
| state | No | ||
| title | No | ||
| dueDate | No | YYYY-MM-DD in the local time zone of this computer | |
| dueTime | No | HH:MM in local time; requires dueDate | |
| topicId | No | ||
| courseId | Yes | ||
| maxPoints | No | ||
| updateMask | Yes | Comma-separated supplied fields: title,description,maxPoints,topicId,dueDate,dueTime,scheduledTime,state | |
| description | No | ||
| scheduledTime | No | RFC 3339 timestamp, or null to cancel scheduled publication. |