Tools
This is a reference catalogue. Tools cannot be configured or run from this page.
List CourseWork Add-on Attachments
GOOGLE_CLASSROOM_LIST_COURSEWORK_ADDON_ATTACHMENTSTool to list all add-on attachments created by an add-on under a course work. Use when you need to retrieve attachments added by an add-on to course work.
List Guardian Invitations
GOOGLE_CLASSROOM_LIST_GUARDIAN_INVITATIONSList one page of guardian invitations for a student, or use studentId '-' as a domain administrator to list all accessible students' invitations. Guardians must be enabled for the domain and the caller must have permission to view invitations. Defaults to PENDING invitations; use states to filter and nextPageToken for subsequent pages.
List Student Group Members
GOOGLE_CLASSROOM_LIST_STUDENT_GROUP_MEMBERSList one page of students in a course's student group. Use nextPageToken to retrieve subsequent pages. Fails if the course or student group does not exist.
List Student Guardians
GOOGLE_CLASSROOM_LIST_STUDENT_GUARDIANSList one page of guardians for a student, or use studentId '-' as a domain administrator to list all accessible students' guardians. Guardians must be enabled for the domain and the caller must have permission to view them. Use nextPageToken for subsequent pages.
Modify Student Submission Attachments
GOOGLE_CLASSROOM_MODIFY_STUDENT_SUBMISSION_ATTACHMENTSAdd attachments to an ASSIGNMENT student submission and return the updated submission. Form attachments are unsupported. The OAuth client must belong to the Developer Console project that created the course work or an add-on attachment on it.
Create Registration
GOOGLE_CLASSROOM_REGISTRATIONS_CREATETool to create a registration for push notifications from Google Classroom. Use when you need to set up notifications from a specific feed to a Cloud Pub/Sub topic. Requires the OAuth scope https://www.googleapis.com/auth/classroom.push-notifications.
Remove Student Group Member
GOOGLE_CLASSROOM_REMOVE_STUDENT_GROUP_MEMBERRemove a student from a specific student group using the course, group, and user IDs. Use to remove group membership without removing the student from the course.
Return Student Submission
GOOGLE_CLASSROOM_RETURN_STUDENT_SUBMISSIONReturn a student submission, transferring attached Drive files to the student. May also update the submission state; does not copy draftGrade to assignedGrade. Only a teacher of the course may call this method. The OAuth client must belong to the Developer Console project that created the course work or an add-on attachment on that course work. Returns an empty response on success.
Turn In Student Submission
GOOGLE_CLASSROOM_TURN_IN_STUDENT_SUBMISSIONTurn in a student submission, transferring attached Drive files to the teacher. May also update the submission state. Only the student who owns the submission may call this method. The OAuth client must belong to the Developer Console project that created the course work or an add-on attachment on that course work. Returns an empty response on success.
Update Add-on Attachment Submission
GOOGLE_CLASSROOM_UPDATE_ADDON_ATTACHMENT_SUBMISSIONUpdate a student's add-on attachment grade on course work using a field mask. The requesting add-on must have created the attachment, and the attachment must have a positive max_points value. Teachers may update points_earned.
Update Announcement Add-on Attachment
GOOGLE_CLASSROOM_UPDATE_ANNOUNCEMENT_ADDON_ATTACHMENTUpdate an add-on attachment on an announcement using a field mask. The requesting add-on must be the attachment's original creator. Only the documented teacher-editable fields may appear in updateMask.
Update Coursework Add-on Attachment
GOOGLE_CLASSROOM_UPDATE_COURSEWORK_ADDON_ATTACHMENTUpdate an add-on attachment on course work using a field mask. The requesting add-on must be the attachment's original creator. Only the documented teacher-editable fields may appear in updateMask.
Update Coursework Rubric
GOOGLE_CLASSROOM_UPDATE_COURSEWORK_RUBRICUpdate a course work rubric, replacing selected criteria or importing a spreadsheet. Omitted criteria and levels are deleted when replacing criteria. The requesting user and course owner need rubric creation capabilities and the required license. Use the OAuth developer project that created the parent course work. Updates are limited once grading starts.
Update Grading Period Settings
GOOGLE_CLASSROOM_UPDATE_GRADING_PERIOD_SETTINGSUpdate a course's grading period settings. The requesting user and course owner must meet Classroom's grading period licensing requirements. Updating grading_periods replaces the entire list, deleting omitted periods. Preserve existing period IDs to edit periods; omit IDs only for new periods.
Update Material Add-on Attachment
GOOGLE_CLASSROOM_UPDATE_MATERIAL_ADDON_ATTACHMENTUpdate an add-on attachment on a course work material using a field mask. The requesting add-on must be the attachment's original creator. Only the documented teacher-editable fields may appear in updateMask.
Update Rubric
GOOGLE_CLASSROOM_UPDATE_RUBRICUpdate a rubric by ID, replacing criteria or importing a formatted spreadsheet. Replacing criteria deletes omitted criteria and levels. The requesting user and course owner need rubric creation capabilities and the required license. Use the OAuth developer project that created the parent course work. Updates are limited once grading has started.
Update Student Group
GOOGLE_CLASSROOM_UPDATE_STUDENT_GROUPUpdate a student group's title as a teacher using the required updateMask. Fails if the group is inaccessible or missing, or if the mask is invalid.
Update Student Submission
GOOGLE_CLASSROOM_UPDATE_STUDENT_SUBMISSIONUpdate a student submission's draft or assigned grade as a teacher. The OAuth developer project must have created the course work or a Grade Sync-enabled add-on attachment on it. Only draft_grade and assigned_grade are supported updateMask fields; use ModifyAttachments for attachments.
Get User Profile
GOOGLE_CLASSROOM_USER_PROFILES_GETTool to retrieve a user profile by user ID. Use when you need to get information about a specific user including their name, email, photo, and permissions.
Withdraw Guardian Invitation
GOOGLE_CLASSROOM_WITHDRAW_GUARDIAN_INVITATIONWithdraw a pending guardian invitation by setting state to COMPLETE with updateMask=state. Only the PENDING to COMPLETE transition is permitted. Requires permission to manage guardians and guardians enabled for the domain; fails for non-pending invitations, invalid updates, or missing students or invitations.