Leave (unenroll from) class
leave_classUnenrolls you from a Google Classroom class after confirmation, removing access until you are re-invited or rejoin with a code.
Instructions
Unenroll yourself from a class. You will lose access to it until re-invited or you re-join with a code. NOTE: the request format for this write was derived from the Classroom web client's code and has not been verified against a live account; check the result.
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": {
"course": "<course>",
"confirm": "<confirm>"
},
"name": "leave_class"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| course | Yes | Course: numeric id, a classroom.google.com/c/... link, or (part of) the class name | |
| confirm | Yes | Must be true |