classroom_create_assignment
Create a Google Classroom assignment or question with attachments, due date, topic, and scheduling options. Publish or save as draft.
Instructions
Create an assignment or question with optional attachments, due date, and topic.
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>",
"title": "<title>"
},
"name": "classroom_create_assignment"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| state | No | DRAFT | |
| title | Yes | ||
| dueDate | No | YYYY-MM-DD in UTC | |
| dueTime | No | HH:MM in UTC (defaults to 23:59 if dueDate is set) | |
| topicId | No | ||
| courseId | Yes | ||
| workType | No | ASSIGNMENT | |
| maxPoints | No | ||
| attachments | No | ||
| description | No | ||
| scheduledTime | No | RFC 3339 timestamp for scheduled publication |