Preview changing a published assignment
prepare_update_publicationCreates an owner-bound confirmation preview for closing or reopening a published assignment, or changing class open/due dates. Links and submissions remain intact. Publication remains unchanged until approved preview execution.
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>",
"action": "<action>",
"changes": "<changes>",
"timeZone": "<timeZone>"
},
"name": "prepare_update_publication"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| action | Yes | ||
| changes | Yes | For change_dates only. | |
| timeZone | Yes | The teacher's IANA time zone, e.g. America/Chicago, so the preview shows their local times. | America/New_York |
| assignmentId | Yes |
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. |