Accept class invitation
accept_invitationJoin a Google Classroom class by accepting an invitation using a course ID, classroom link, or class name.
Instructions
Accept an invitation to join a class (the course id is shown on the invitation / in list_courses). 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>"
},
"name": "accept_invitation"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| course | Yes | Course: numeric id, a classroom.google.com/c/... link, or (part of) the class name |