> ## Documentation Index
> Fetch the complete documentation index at: https://composio-preview.mintlify.site/llms.txt
> Use this file to discover all available pages before exploring further.

# Google Classroom

> Google Classroom is a free web service developed by Google for schools that aims to simplify creating, distributing, and grading assignments

![Google Classroom logo](https://mintcdn.com/composio-preview/GL28i3tBlbEbBd-f/images/toolkits/google_classroom.svg?fit=max\&auto=format\&n=GL28i3tBlbEbBd-f\&q=85\&s=2f0b10915aea89579f0c152255cf132a)

* **Category:** education
* **Auth:** OAUTH2
* **Composio-managed OAuth available?** Yes
* **Tools:** 62
* **Triggers:** 0
* **Slug:** `GOOGLE_CLASSROOM`
* **Version:** 20261101\_00

## Frequently Asked Questions

> [accordion] How do I set up custom Google OAuth credentials for Google Classroom?
>
> For a step-by-step guide on creating and configuring your own Google OAuth credentials with Composio, see [How to create OAuth2 credentials for Google Apps](https://composio.dev/auth/googleapps).

> [accordion] Why am I seeing "App is blocked" when connecting Google Classroom?
>
> The OAuth client is requesting scopes that Google hasn't verified for that client. This usually happens when you add extra scopes beyond the defaults.
>
> Remove the additional scopes from your auth config, or create your own OAuth app and submit the scopes for verification. See [How to create OAuth2 credentials for Google Apps](https://composio.dev/auth/googleapps).

> [accordion] Why am I getting "Google Classroom API has not been used in project" error?
>
> When using custom OAuth credentials, the Google Classroom API must be enabled in the Google Cloud project that owns those credentials. Enable it in Google Cloud Console under APIs & Services, wait a few minutes, and retry.

> [accordion] Why am I getting "Error 400: invalid\_scope"?
>
> The requested scopes are invalid or incorrectly formatted in the authorization URL. Verify your scope values against the [Google OAuth scopes docs](https://developers.google.com/identity/protocols/oauth2). If you're creating auth configs programmatically, see the [programmatic auth config guide](https://composio-preview.mintlify.site/docs/authentication/programmatic-auth-configs.md).

> [accordion] Why does the OAuth consent screen show "Composio" instead of my app?
>
> By default, the consent screen uses Composio's OAuth app. To show your own app name and logo, create your own OAuth app and set a custom redirect URL. See [White-labeling authentication](https://composio-preview.mintlify.site/docs/authentication/white-labeling-authentication.md#using-your-own-oauth-apps).

> [accordion] Why am I getting 401 errors on tool calls?
>
> The user's access token is no longer valid. Common causes: the user revoked access, changed their password or 2FA, a Workspace admin policy changed, or Google's refresh token limit (\~50 per account) was exceeded. Re-authenticating the user typically resolves this.

## Tools

> [accordion] Accept Invitation
>
> **Slug:** `GOOGLE_CLASSROOM_ACCEPT_INVITATION`
>
> Accept an invitation as the invited user, joining its course as a teacher or student. Removes the invitation on success. Only the invited user may accept it.
>
> #### Input Parameters
>
> **id** `string` *required*
>
> Identifier of the invitation to accept.
>
> #### Output
>
> **data** `string` *required*
>
> Data from the action execution
>
> **error** `string`
>
> Error if any occurred during the execution of the action
>
> **successful** `boolean` *required*
>
> Whether or not the action execution was successful or not

> [accordion] Add Course Teacher
>
> **Slug:** `GOOGLE_CLASSROOM_ADD_COURSE_TEACHER`
>
> Directly add a teacher to a course as a domain administrator. Domain administrators can add users within their domain to courses within their domain. Non-admin users should send an invitation instead. Fails if the user is already a teacher or student in the course.
>
> #### Input Parameters
>
> **userId** `string`
>
> User to add: numeric user identifier, email address, or 'me' for the requesting user.
>
> **courseId** `string` *required*
>
> Classroom-assigned course identifier or course alias.
>
> #### Output
>
> **data** `string` *required*
>
> Data from the action execution
>
> **error** `string`
>
> Error if any occurred during the execution of the action
>
> **successful** `boolean` *required*
>
> Whether or not the action execution was successful or not

> [accordion] Add Student Group Member
>
> **Slug:** `GOOGLE_CLASSROOM_ADD_STUDENT_GROUP_MEMBER`
>
> Add a student to an existing student group in a course. Fails if the member already exists, the group is full, or the caller lacks access.
>
> #### Input Parameters
>
> **userId** `string`
>
> Identifier of the student to add.
>
> **courseId** `string` *required*
>
> Required. The identifier of the course in the request path.
>
> **bodyCourseId** `string`
>
> Optional course identifier in the StudentGroupMember request body.
>
> **studentGroupId** `string` *required*
>
> Required. The identifier of the student group in the request path.
>
> **bodyStudentGroupId** `string`
>
> Optional student group identifier in the StudentGroupMember request body.
>
> #### Output
>
> **data** `string` *required*
>
> Data from the action execution
>
> **error** `string`
>
> Error if any occurred during the execution of the action
>
> **successful** `boolean` *required*
>
> Whether or not the action execution was successful or not

> [accordion] Create Course Alias
>
> **Slug:** `GOOGLE_CLASSROOM_COURSES_ALIASES_CREATE`
>
> Tool to create an alias for a course. Use when you need to add an alternative identifier to a course after confirming the course ID.
>
> #### Input Parameters
>
> **alias** `string` *required*
>
> The alias to create. Must be unique within its scope and cannot exceed 256 characters. Domain-scoped aliases (prefix 'd:') can only be created by domain administrators. Project-scoped aliases (prefix 'p:') can be created by any project user.
>
> **courseId** `string` *required*
>
> Identifier of the course. This may either be the Classroom-assigned identifier or an alias.
>
> #### Output
>
> **data** `string` *required*
>
> Data from the action execution
>
> **error** `string`
>
> Error if any occurred during the execution of the action
>
> **successful** `boolean` *required*
>
> Whether or not the action execution was successful or not

> [accordion] Delete Course Alias
>
> **Slug:** `GOOGLE_CLASSROOM_COURSES_ALIASES_DELETE`
>
> Tool to delete an alias of a course. Use when you need to remove an alias from a course after confirming the course ID and alias name.
>
> #### Input Parameters
>
> **alias** `string` *required*
>
> The alias to delete. This may not be the Classroom-assigned identifier.
>
> **courseId** `string` *required*
>
> Identifier of the course. This may either be the Classroom-assigned identifier or an alias.
>
> #### Output
>
> **data** `string` *required*
>
> Data from the action execution
>
> **error** `string`
>
> Error if any occurred during the execution of the action
>
> **successful** `boolean` *required*
>
> Whether or not the action execution was successful or not

> [accordion] List Course Aliases
>
> **Slug:** `GOOGLE_CLASSROOM_COURSES_ALIASES_LIST`
>
> List a page of aliases for a specified course, with optional page size and page token. A next-page token may be returned for retrieving further aliases.
>
> #### Input Parameters
>
> **courseId** `string` *required*
>
> Identifier of the course. This identifier can be either the Classroom-assigned identifier or an alias.
>
> **pageSize** `integer`
>
> Maximum number of items to return. Zero or unspecified indicates that the server may assign a maximum.
>
> **pageToken** `string`
>
> nextPageToken value returned from a previous list call, indicating that the subsequent page of results should be returned.
>
> #### Output
>
> **data** `string` *required*
>
> Data from the action execution
>
> **error** `string`
>
> Error if any occurred during the execution of the action
>
> **successful** `boolean` *required*
>
> Whether or not the action execution was successful or not

> [accordion] Create Announcement
>
> **Slug:** `GOOGLE_CLASSROOM_COURSES_ANNOUNCEMENTS_CREATE`
>
> Tool to create an announcement in a course. Use after confirming the course ID is valid.
>
> #### Input Parameters
>
> **text** `string`
>
> The text content of the announcement.
>
> **state** `string ("DRAFT" | "PUBLISHED" | "DELETED")`
>
> State of the announcement; if omitted defaults to PUBLISHED.
>
> **courseId** `string` *required*
>
> Identifier of the course.
>
> **materials** `array`
>
> List of materials to attach to the announcement.
>
> **assigneeMode** `string ("ALL_STUDENTS" | "INDIVIDUAL_STUDENTS")`
>
> Mode for assigning the announcement; ALL\_STUDENTS or INDIVIDUAL\_STUDENTS.
>
> **scheduledTime** `string`
>
> RFC3339 timestamp at which to publish the announcement.
>
> **individualStudentsOptions** `object`
>
> Options for INDIVIDUAL\_STUDENTS assignee mode.
>
> #### Output
>
> **data** `string` *required*
>
> Data from the action execution
>
> **error** `string`
>
> Error if any occurred during the execution of the action
>
> **successful** `boolean` *required*
>
> Whether or not the action execution was successful or not

> [accordion] Delete Announcement
>
> **Slug:** `GOOGLE_CLASSROOM_COURSES_ANNOUNCEMENTS_DELETE`
>
> Tool to delete an announcement. Use after confirming the announcement ID.
>
> #### Input Parameters
>
> **id** `string` *required*
>
> Identifier of the announcement to delete.
>
> **courseId** `string` *required*
>
> Identifier of the course.
>
> #### Output
>
> **data** `string` *required*
>
> Data from the action execution
>
> **error** `string`
>
> Error if any occurred during the execution of the action
>
> **successful** `boolean` *required*
>
> Whether or not the action execution was successful or not

> [accordion] Get Announcement
>
> **Slug:** `GOOGLE_CLASSROOM_COURSES_ANNOUNCEMENTS_GET`
>
> Tool to get an announcement. Use when you need to fetch an announcement by course and announcement ID.
>
> #### Input Parameters
>
> **id** `string` *required*
>
> Identifier of the announcement to retrieve.
>
> **courseId** `string` *required*
>
> Identifier of the course. This identifier can be either the Classroom-assigned ID or an alias.
>
> #### Output
>
> **data** `string` *required*
>
> Data from the action execution
>
> **error** `string`
>
> Error if any occurred during the execution of the action
>
> **successful** `boolean` *required*
>
> Whether or not the action execution was successful or not

> [accordion] Get Add-on Context for Announcement
>
> **Slug:** `GOOGLE_CLASSROOM_COURSES_ANNOUNCEMENTS_GET_ADD_ON_CONTEXT`
>
> Tool to get metadata for Classroom add-ons in the context of a specific announcement post. Use when validating query parameters and user permissions for add-ons loading in an iframe. Returns the current user's role (student or teacher) with exactly one context field populated.
>
> #### Input Parameters
>
> **itemId** `string` *required*
>
> Identifier of the Announcement, CourseWork, or CourseWorkMaterial with the attached add-on.
>
> **postId** `string`
>
> Deprecated. Use itemId instead.
>
> **courseId** `string` *required*
>
> Identifier of the course.
>
> **addOnToken** `string`
>
> Optional authorization token passed when redirecting to the add-on's URL. Required unless the add-on has attachments or the requesting project created the post.
>
> **attachmentId** `string`
>
> Optional identifier for the specific attachment. Required for all requests except Attachment Discovery iframe.
>
> #### Output
>
> **data** `string` *required*
>
> Data from the action execution
>
> **error** `string`
>
> Error if any occurred during the execution of the action
>
> **successful** `boolean` *required*
>
> Whether or not the action execution was successful or not

> [accordion] List Announcements
>
> **Slug:** `GOOGLE_CLASSROOM_COURSES_ANNOUNCEMENTS_LIST`
>
> Tool to list announcements in a course. Use after you have the course ID to page through announcements.
>
> #### Input Parameters
>
> **orderBy** `string ("updateTime asc" | "updateTime desc")`
>
> How to sort announcements. Use `updateTime desc` (newest first) or `updateTime asc` (oldest first). Defaults to `updateTime desc`.
>
> **courseId** `string` *required*
>
> Identifier of the course whose announcements should be listed. Can be the Classroom-assigned identifier or an alias.
>
> **pageSize** `integer`
>
> Maximum number of announcements to return. Must be between 1 and 100. Defaults to 30 if not set.
>
> **pageToken** `string`
>
> Token specifying the next page of results to return. Obtain from a previous list call's `nextPageToken`.
>
> #### Output
>
> **data** `string` *required*
>
> Data from the action execution
>
> **error** `string`
>
> Error if any occurred during the execution of the action
>
> **successful** `boolean` *required*
>
> Whether or not the action execution was successful or not

> [accordion] Modify Announcement Assignees
>
> **Slug:** `GOOGLE_CLASSROOM_COURSES_ANNOUNCEMENTS_MODIFY_ASSIGNEES`
>
> Tool to modify assignee mode and options of an announcement. Use when you need to change who can view an announcement, either making it visible to all students or to specific students only.
>
> #### Input Parameters
>
> **id** `string` *required*
>
> Identifier of the announcement.
>
> **courseId** `string` *required*
>
> Identifier of the course. This may be the Classroom-assigned identifier or an alias.
>
> **assigneeMode** `string ("ALL_STUDENTS" | "INDIVIDUAL_STUDENTS")` *required*
>
> Mode of the announcement describing whether it is accessible by all students or specified individual students. Use ALL\_STUDENTS for all students to see the item, or INDIVIDUAL\_STUDENTS for a subset of students.
>
> **modifyIndividualStudentsOptions** `object`
>
> Options for modifying which students can view the announcement when assigneeMode is INDIVIDUAL\_STUDENTS.
>
> #### Output
>
> **data** `string` *required*
>
> Data from the action execution
>
> **error** `string`
>
> Error if any occurred during the execution of the action
>
> **successful** `boolean` *required*
>
> Whether or not the action execution was successful or not

> [accordion] Patch Announcement
>
> **Slug:** `GOOGLE_CLASSROOM_COURSES_ANNOUNCEMENTS_PATCH`
>
> Tool to update fields of an announcement. Use when you need to modify specific details of an existing announcement after confirming which fields to update.
>
> #### Input Parameters
>
> **id** `string` *required*
>
> Identifier of the announcement to update.
>
> **text** `string`
>
> The text content of the announcement to set.
>
> **state** `string ("DRAFT" | "PUBLISHED" | "DELETED")`
>
> State of the announcement.
>
> **courseId** `string` *required*
>
> Identifier of the course.
>
> **materials** `array`
>
> List of materials to attach to the announcement.
>
> **updateMask** `string` *required*
>
> Comma-separated list of fields to update. E.g., 'text,state'.
>
> **assigneeMode** `string ("ALL_STUDENTS" | "INDIVIDUAL_STUDENTS")`
>
> Mode for assigning the announcement; ALL\_STUDENTS or INDIVIDUAL\_STUDENTS.
>
> **scheduledTime** `string`
>
> RFC3339 timestamp at which to publish the announcement.
>
> **individualStudentsOptions** `object`
>
> Options for INDIVIDUAL\_STUDENTS assignee mode.
>
> #### Output
>
> **data** `string` *required*
>
> Data from the action execution
>
> **error** `string`
>
> Error if any occurred during the execution of the action
>
> **successful** `boolean` *required*
>
> Whether or not the action execution was successful or not

> [accordion] Delete Add-on Attachment
>
> **Slug:** `GOOGLE_CLASSROOM_COURSES_ANNOUNCES_ADD_ON_ATTACHS_DELETE`
>
> Tool to delete an add-on attachment from a course announcement. Requires the add-on to have been the original creator of the attachment.
>
> #### Input Parameters
>
> **itemId** `string` *required*
>
> Identifier of the announcement under which the attachment is attached.
>
> **postId** `string`
>
> Deprecated. Use itemId instead. Optional identifier of the post.
>
> **courseId** `string` *required*
>
> Identifier of the course.
>
> **attachmentId** `string` *required*
>
> Identifier of the add-on attachment to delete.
>
> #### Output
>
> **data** `string` *required*
>
> Data from the action execution
>
> **error** `string`
>
> Error if any occurred during the execution of the action
>
> **successful** `boolean` *required*
>
> Whether or not the action execution was successful or not

> [accordion] Get Add-on Attachment
>
> **Slug:** `GOOGLE_CLASSROOM_COURSES_ANNOUNCES_ADD_ON_ATTACHS_GET`
>
> Tool to get an add-on attachment from an announcement. Use when you need to retrieve a specific add-on attachment. Requires the add-on requesting the attachment to be the original creator.
>
> #### Input Parameters
>
> **itemId** `string` *required*
>
> Identifier of the Announcement, CourseWork, or CourseWorkMaterial containing the attachment.
>
> **postId** `string`
>
> Deprecated. Use itemId instead. Optional identifier of the post.
>
> **courseId** `string` *required*
>
> Identifier of the course.
>
> **attachmentId** `string` *required*
>
> Identifier of the add-on attachment. Classroom-assigned identifier for this attachment, unique per post.
>
> #### Output
>
> **data** `string` *required*
>
> Data from the action execution
>
> **error** `string`
>
> Error if any occurred during the execution of the action
>
> **successful** `boolean` *required*
>
> Whether or not the action execution was successful or not

> [accordion] List Add-on Attachments
>
> **Slug:** `GOOGLE_CLASSROOM_COURSES_ANNOUNCES_ADD_ON_ATTACHS_LIST`
>
> Lists a page of add-on attachments under an announcement. Requires the add-on to have active attachments on the post or permission to create new attachments.
>
> #### Input Parameters
>
> **itemId** `string` *required*
>
> Identifier of the Announcement, CourseWork, or CourseWorkMaterial whose attachments should be listed.
>
> **courseId** `string` *required*
>
> Identifier of the course.
>
> **pageSize** `integer`
>
> Maximum number of attachments to return. Default is 20, maximum is 20.
>
> **pageToken** `string`
>
> Token for retrieving the next page of results from a previous list response.
>
> #### Output
>
> **data** `string` *required*
>
> Data from the action execution
>
> **error** `string`
>
> Error if any occurred during the execution of the action
>
> **successful** `boolean` *required*
>
> Whether or not the action execution was successful or not

> [accordion] Delete Add-on Attachment
>
> **Slug:** `GOOGLE_CLASSROOM_COURSES_COURSE_WORK_ADD_ON_ATTACHS_DELETE`
>
> Tool to delete an add-on attachment from course work. Use when the add-on needs to remove an attachment it originally created. Requires the add-on to have been the original creator of the attachment.
>
> #### Input Parameters
>
> **itemId** `string` *required*
>
> Identifier of the Announcement, CourseWork, or CourseWorkMaterial under which the attachment is attached.
>
> **postId** `string`
>
> Optional. Deprecated, use itemId instead.
>
> **courseId** `string` *required*
>
> Identifier of the course.
>
> **attachmentId** `string` *required*
>
> Identifier of the attachment to delete.
>
> #### Output
>
> **data** `string` *required*
>
> Data from the action execution
>
> **error** `string`
>
> Error if any occurred during the execution of the action
>
> **successful** `boolean` *required*
>
> Whether or not the action execution was successful or not

> [accordion] Get Add-on Context for Course Work
>
> **Slug:** `GOOGLE_CLASSROOM_COURSES_COURSE_WORK_GET_ADD_ON_CONTEXT`
>
> Tool to get metadata for Classroom add-ons in the context of a specific course work. Use when validating query parameters and user permissions for add-ons loading in an iframe. Returns the current user's role (student or teacher) with exactly one context field populated.
>
> #### Input Parameters
>
> **itemId** `string` *required*
>
> Identifier of the Announcement, CourseWork, or CourseWorkMaterial with the attached add-on.
>
> **courseId** `string` *required*
>
> Identifier of the course.
>
> **addOnToken** `string`
>
> Optional authorization token passed when redirecting to the add-on's URL. Required unless the add-on has attachments or the requesting project created the post.
>
> **attachmentId** `string`
>
> Optional identifier for the specific attachment. Required for all requests except Attachment Discovery iframe.
>
> #### Output
>
> **data** `string` *required*
>
> Data from the action execution
>
> **error** `string`
>
> Error if any occurred during the execution of the action
>
> **successful** `boolean` *required*
>
> Whether or not the action execution was successful or not

> [accordion] List Add-on Attachments on Course Work Material
>
> **Slug:** `GOOGLE_CLASSROOM_COURSES_COURSE_WORK_MATERIALS_ADD_ATTACHS`
>
> Tool to list all add-on attachments under a course work material post. Use when you need to retrieve attachments created by an add-on. Requires the add-on to have active attachments or permission to create new attachments on the post.
>
> #### Input Parameters
>
> **itemId** `string` *required*
>
> Identifier of the Announcement, CourseWork, or CourseWorkMaterial resource.
>
> **courseId** `string` *required*
>
> Identifier of the course.
>
> #### Output
>
> **data** `string` *required*
>
> Data from the action execution
>
> **error** `string`
>
> Error if any occurred during the execution of the action
>
> **successful** `boolean` *required*
>
> Whether or not the action execution was successful or not

> [accordion] Delete Course Work Material
>
> **Slug:** `GOOGLE_CLASSROOM_COURSES_COURSE_WORK_MATERIALS_DELETE`
>
> Tool to delete a course work material. Use after confirming the course work material ID and course ID.
>
> #### Input Parameters
>
> **id** `string` *required*
>
> Identifier of the course work material to delete.
>
> **courseId** `string` *required*
>
> Identifier of the course. This may either be the Classroom-assigned identifier or an alias.
>
> #### Output
>
> **data** `string` *required*
>
> Data from the action execution
>
> **error** `string`
>
> Error if any occurred during the execution of the action
>
> **successful** `boolean` *required*
>
> Whether or not the action execution was successful or not

> [accordion] Modify CourseWork Assignees
>
> **Slug:** `GOOGLE_CLASSROOM_COURSES_COURSE_WORK_MODIFY_ASSIGNEES`
>
> Tool to modify assignee mode and options of coursework. Use when you need to change who can view coursework, either making it visible to all students or to specific students only.
>
> #### Input Parameters
>
> **id** `string` *required*
>
> Identifier of the coursework.
>
> **courseId** `string` *required*
>
> Identifier of the course. This may be the Classroom-assigned identifier or an alias.
>
> **assigneeMode** `string ("ALL_STUDENTS" | "INDIVIDUAL_STUDENTS")` *required*
>
> Mode of the coursework describing whether it is accessible by all students or specified individual students. Use ALL\_STUDENTS for all students to see the item, or INDIVIDUAL\_STUDENTS for a subset of students.
>
> **modifyIndividualStudentsOptions** `object`
>
> Options for modifying which students can view the coursework when assigneeMode is INDIVIDUAL\_STUDENTS.
>
> #### Output
>
> **data** `string` *required*
>
> Data from the action execution
>
> **error** `string`
>
> Error if any occurred during the execution of the action
>
> **successful** `boolean` *required*
>
> Whether or not the action execution was successful or not

> [accordion] Patch Course Work
>
> **Slug:** `GOOGLE_CLASSROOM_COURSES_COURSE_WORK_PATCH`
>
> Tool to update one or more fields of a course work. Use when you need to modify specific details of an existing course work after confirming which fields to update.
>
> #### Input Parameters
>
> **id** `string` *required*
>
> Identifier of the course work to update.
>
> **state** `string ("DRAFT" | "PUBLISHED" | "DELETED")`
>
> State of the course work. Can be DRAFT, PUBLISHED, or DELETED.
>
> **title** `string`
>
> Title of the course work to set. Valid UTF-8, 1-3000 characters.
>
> **dueDate** `object`
>
> Model for due date.
>
> **dueTime** `object`
>
> Model for due time in request.
>
> **topicId** `string`
>
> Topic ID to assign. Must match an existing course topic.
>
> **courseId** `string` *required*
>
> Identifier of the course. Can be the Classroom-assigned identifier or an alias.
>
> **materials** `array`
>
> Additional materials to attach (max 20 items).
>
> **maxPoints** `number`
>
> Maximum grade points for the course work. Must be non-negative; zero indicates ungraded.
>
> **updateMask** `string` *required*
>
> Comma-separated list of fields to update. Teachers can modify: title, description, state, dueDate, dueTime, maxPoints, scheduledTime, submissionModificationMode, topicId, gradingPeriodId.
>
> **description** `string`
>
> Description of the course work to set. Maximum 30,000 characters.
>
> **assigneeMode** `string ("ALL_STUDENTS" | "INDIVIDUAL_STUDENTS")`
>
> Mode for assigning course work; defaults to ALL\_STUDENTS.
>
> **scheduledTime** `string`
>
> RFC 3339 timestamp at which to publish the course work.
>
> **gradingPeriodId** `string`
>
> Grading period identifier.
>
> **individualStudentsOptions** `object`
>
> Options for INDIVIDUAL\_STUDENTS assignee mode.
>
> **submissionModificationMode** `string ("SUBMISSION_MODIFICATION_MODE_UNSPECIFIED" | "MODIFIABLE_UNTIL_TURNED_IN" | "MODIFIABLE")`
>
> Controls when students can modify submissions.
>
> #### Output
>
> **data** `string` *required*
>
> Data from the action execution
>
> **error** `string`
>
> Error if any occurred during the execution of the action
>
> **successful** `boolean` *required*
>
> Whether or not the action execution was successful or not

> [accordion] List Course Work Rubrics
>
> **Slug:** `GOOGLE_CLASSROOM_COURSES_COURSEWORK_RUBRICS_LIST`
>
> Tool to list rubrics for a specific coursework. Use when you need to retrieve grading rubrics that the requester has permission to view.
>
> #### Input Parameters
>
> **courseId** `string` *required*
>
> Identifier of the course. Can be the Classroom-assigned ID or an alias.
>
> **pageSize** `integer`
>
> Maximum number of items to return. Default and maximum is 1.
>
> **pageToken** `string`
>
> Token from a previous list call indicating the next page of results.
>
> **courseWorkId** `string` *required*
>
> Identifier of the course work.
>
> **previewVersion** `string`
>
> Optional preview version of the API that specifies new capabilities being previewed.
>
> #### Output
>
> **data** `string` *required*
>
> Data from the action execution
>
> **error** `string`
>
> Error if any occurred during the execution of the action
>
> **successful** `boolean` *required*
>
> Whether or not the action execution was successful or not

> [accordion] Create Course
>
> **Slug:** `GOOGLE_CLASSROOM_COURSES_CREATE`
>
> Tool to create a new course. Use when a teacher needs to establish a Classroom course before enrollment.
>
> #### Input Parameters
>
> **name** `string` *required*
>
> Name of the course. Max length 750 characters.
>
> **room** `string`
>
> Room location for the course. Max length 64 characters.
>
> **ownerId** `string` *required*
>
> Identifier of the course owner. Can be the user's numeric ID or email address.
>
> **section** `string`
>
> Section of the course. Max length 2800 characters.
>
> **courseState** `string ("COURSE_STATE_UNSPECIFIED" | "ACTIVE" | "ARCHIVED" | "PROVISIONED" | "DECLINED")`
>
> Initial state of the course.
>
> **description** `string`
>
> Detailed description of the course. Max length 30,000 characters.
>
> **descriptionHeading** `string`
>
> Heading for the course description. Max length 360 characters.
>
> #### Output
>
> **data** `string` *required*
>
> Data from the action execution
>
> **error** `string`
>
> Error if any occurred during the execution of the action
>
> **successful** `boolean` *required*
>
> Whether or not the action execution was successful or not

> [accordion] Delete Course
>
> **Slug:** `GOOGLE_CLASSROOM_COURSES_DELETE`
>
> Tool to delete a course. Use when you need to remove a course after confirming the course ID.
>
> #### Input Parameters
>
> **id** `string` *required*
>
> Identifier of the course to delete.
>
> #### Output
>
> **data** `string` *required*
>
> Data from the action execution
>
> **error** `string`
>
> Error if any occurred during the execution of the action
>
> **successful** `boolean` *required*
>
> Whether or not the action execution was successful or not

> [accordion] Get Course
>
> **Slug:** `GOOGLE_CLASSROOM_COURSES_GET`
>
> Tool to get details for a specific course. Use when you need full course information by ID.
>
> #### Input Parameters
>
> **id** `string` *required*
>
> Identifier of the course. This identifier can be either the Classroom-assigned ID or an alias.
>
> #### Output
>
> **data** `string` *required*
>
> Data from the action execution
>
> **error** `string`
>
> Error if any occurred during the execution of the action
>
> **successful** `boolean` *required*
>
> Whether or not the action execution was successful or not

> [accordion] Get Grading Period Settings
>
> **Slug:** `GOOGLE_CLASSROOM_COURSES_GET_GRADING_PERIOD_SETTINGS`
>
> Tool to retrieve grading period settings for a course. Use when you need to access the grading periods configured in a course.
>
> #### Input Parameters
>
> **courseId** `string` *required*
>
> Identifier of the course. This can be the Classroom-assigned identifier or an alias.
>
> #### Output
>
> **data** `string` *required*
>
> Data from the action execution
>
> **error** `string`
>
> Error if any occurred during the execution of the action
>
> **successful** `boolean` *required*
>
> Whether or not the action execution was successful or not

> [accordion] List Courses
>
> **Slug:** `GOOGLE_CLASSROOM_COURSES_LIST`
>
> Tool to list all courses accessible to the authenticated user. Use when you need a paginated list of courses.
>
> #### Input Parameters
>
> **pageSize** `integer`
>
> Maximum number of items to return. Must be ≥1.
>
> **pageToken** `string`
>
> Token identifying the page of results to return.
>
> **studentId** `string`
>
> Restricts returned courses to those in which the student is enrolled. Can be the user's numeric ID or 'me'.
>
> **teacherId** `string`
>
> Restricts returned courses to those taught by the teacher. Can be the user's numeric ID or 'me'.
>
> **courseStates** `array`
>
> Restricts returned courses to those in specified states.
>
> #### Output
>
> **data** `string` *required*
>
> Data from the action execution
>
> **error** `string`
>
> Error if any occurred during the execution of the action
>
> **successful** `boolean` *required*
>
> Whether or not the action execution was successful or not

> [accordion] Patch Course
>
> **Slug:** `GOOGLE_CLASSROOM_COURSES_PATCH`
>
> Tool to update one or more fields of a Classroom course. Use after retrieving course details and confirming fields to update.
>
> #### Input Parameters
>
> **id** `string` *required*
>
> Identifier of the course to update.
>
> **name** `string`
>
> New name of the course.
>
> **room** `string`
>
> New room/location for the course.
>
> **ownerId** `string`
>
> New owner user ID for the course.
>
> **section** `string`
>
> New section of the course.
>
> **updateMask** `string` *required*
>
> Comma-separated list of fields to update. E.g., 'name,section'.
>
> **courseState** `string ("COURSE_STATE_UNSPECIFIED" | "ACTIVE" | "ARCHIVED" | "PROVISIONED" | "DECLINED")`
>
> New state of the course.
>
> **description** `string`
>
> New detailed description of the course.
>
> **descriptionHeading** `string`
>
> New heading for the course description.
>
> #### Output
>
> **data** `string` *required*
>
> Data from the action execution
>
> **error** `string`
>
> Error if any occurred during the execution of the action
>
> **successful** `boolean` *required*
>
> Whether or not the action execution was successful or not

> [accordion] List Post Add-on Attachments
>
> **Slug:** `GOOGLE_CLASSROOM_COURSES_POSTS_ADD_ON_ATTACHMENTS_LIST`
>
> Tool to list all add-on attachments created under a post. Use when you need to retrieve attachments added by an add-on. Requires the add-on to have active attachments on the post or permission to create new attachments.
>
> #### Input Parameters
>
> **itemId** `string`
>
> Identifier of the Announcement, CourseWork, or CourseWorkMaterial whose attachments should be enumerated. Optional query parameter.
>
> **postId** `string` *required*
>
> Identifier of the post under the course.
>
> **courseId** `string` *required*
>
> Identifier of the course.
>
> **pageSize** `integer`
>
> Maximum number of attachments to return. The service may return fewer than this value. If unspecified, at most 20 attachments will be returned.
>
> **pageToken** `string`
>
> A page token received from a previous list call. Provide this to retrieve the subsequent page.
>
> #### Output
>
> **data** `string` *required*
>
> Data from the action execution
>
> **error** `string`
>
> Error if any occurred during the execution of the action
>
> **successful** `boolean` *required*
>
> Whether or not the action execution was successful or not

> [accordion] Get Add-on Context for Post
>
> **Slug:** `GOOGLE_CLASSROOM_COURSES_POSTS_GET_ADD_ON_CONTEXT`
>
> Tool to get metadata for Classroom add-ons in the context of a specific post. Use when validating query parameters and user permissions for add-ons loading in an iframe. Returns the current user's role (student or teacher) with exactly one context field populated.
>
> #### Input Parameters
>
> **itemId** `string` *required*
>
> Identifier of the Announcement, CourseWork, or CourseWorkMaterial with the attached add-on.
>
> **postId** `string` *required*
>
> Identifier of the post (path parameter, deprecated - but required in path).
>
> **courseId** `string` *required*
>
> Identifier of the course.
>
> **addOnToken** `string`
>
> Optional authorization token passed when redirecting to the add-on's URL. Required unless the add-on has attachments on the post or the requesting project created the post.
>
> **attachmentId** `string`
>
> Optional identifier for the specific attachment. Required for all requests except Attachment Discovery iframe.
>
> #### Output
>
> **data** `string` *required*
>
> Data from the action execution
>
> **error** `string`
>
> Error if any occurred during the execution of the action
>
> **successful** `boolean` *required*
>
> Whether or not the action execution was successful or not

> [accordion] Add Student to Course
>
> **Slug:** `GOOGLE_CLASSROOM_COURSES_STUDENTS_CREATE`
>
> Tool to add a student to a course. Use when enrolling a user as a student in a course. Domain administrators can directly enroll users; students can self-enroll with an enrollment code.
>
> #### Input Parameters
>
> **userId** `string` *required*
>
> Identifier of the user to enroll as a student. Can be the numeric identifier for the user, the email address of the user, or the string literal "me" to indicate the requesting user.
>
> **courseId** `string` *required*
>
> Identifier of the course. Can be the Classroom-assigned identifier or an alias.
>
> **enrollmentCode** `string`
>
> Enrollment code of the course. Required if the userId corresponds to the authenticated user. Optional for domain administrators who can directly enroll users.
>
> #### Output
>
> **data** `string` *required*
>
> Data from the action execution
>
> **error** `string`
>
> Error if any occurred during the execution of the action
>
> **successful** `boolean` *required*
>
> Whether or not the action execution was successful or not

> [accordion] Delete Course Student
>
> **Slug:** `GOOGLE_CLASSROOM_COURSES_STUDENTS_DELETE`
>
> Tool to delete a student from a course. Use when you need to remove a student's enrollment from a specific course. This revokes their access to course materials and participation.
>
> #### Input Parameters
>
> **userId** `string` *required*
>
> Identifier of the student to delete. The identifier can be one of the following: the numeric identifier for the user, the email address of the user, or the string literal 'me' indicating the requesting user.
>
> **courseId** `string` *required*
>
> Identifier of the course. This may be the Classroom-assigned identifier or an alias.
>
> #### Output
>
> **data** `string` *required*
>
> Data from the action execution
>
> **error** `string`
>
> Error if any occurred during the execution of the action
>
> **successful** `boolean` *required*
>
> Whether or not the action execution was successful or not

> [accordion] Get Course Student
>
> **Slug:** `GOOGLE_CLASSROOM_COURSES_STUDENTS_GET`
>
> Tool to retrieve a specific student of a course. Use when you need to get detailed information about a student enrolled in a course by courseId and userId.
>
> #### Input Parameters
>
> **userId** `string` *required*
>
> Identifier of the user. This can be the numeric identifier for the user, the email address of the user, or the literal string 'me' indicating the requesting user.
>
> **courseId** `string` *required*
>
> Identifier of the course. This may be the Classroom-assigned identifier or an alias.
>
> #### Output
>
> **data** `string` *required*
>
> Data from the action execution
>
> **error** `string`
>
> Error if any occurred during the execution of the action
>
> **successful** `boolean` *required*
>
> Whether or not the action execution was successful or not

> [accordion] List Student Guardians
>
> **Slug:** `GOOGLE_CLASSROOM_COURSES_STUDENTS_GUARDIANS_LIST`
>
> Tool to list guardians of a student in a course. Use when you need to retrieve and paginate guardians for a given student in a course.
>
> #### Input Parameters
>
> **courseId** `string` *required*
>
> Identifier of the course. Can be the Classroom-assigned ID or an alias.
>
> **pageSize** `integer`
>
> Maximum number of guardians to return. Must be between 1 and 100. Defaults to server's default.
>
> **pageToken** `string`
>
> Token identifying which page of results to return.
>
> **studentId** `string` *required*
>
> Identifier of the student (the user's id or email address, or 'me').
>
> #### Output
>
> **data** `string` *required*
>
> Data from the action execution
>
> **error** `string`
>
> Error if any occurred during the execution of the action
>
> **successful** `boolean` *required*
>
> Whether or not the action execution was successful or not

> [accordion] List Course Students
>
> **Slug:** `GOOGLE_CLASSROOM_COURSES_STUDENTS_LIST`
>
> Tool to list students in a course. Use after you have the course ID to page through enrolled students.
>
> #### Input Parameters
>
> **courseId** `string` *required*
>
> Identifier of the course whose students should be listed. Can be the Classroom-assigned identifier or an alias.
>
> **pageSize** `integer`
>
> Maximum number of students to return. Must be between 1 and 100.
>
> **pageToken** `string`
>
> Token specifying which page of results to return. Obtain from a previous list call's `nextPageToken`.
>
> #### Output
>
> **data** `string` *required*
>
> Data from the action execution
>
> **error** `string`
>
> Error if any occurred during the execution of the action
>
> **successful** `boolean` *required*
>
> Whether or not the action execution was successful or not

> [accordion] Delete Course Teacher
>
> **Slug:** `GOOGLE_CLASSROOM_COURSES_TEACHERS_DELETE`
>
> Tool to delete a teacher from a course. Use when you need to remove a teacher's enrollment from a specific course. This revokes their teaching access to the course.
>
> #### Input Parameters
>
> **userId** `string` *required*
>
> Identifier of the teacher to delete. The identifier can be one of the following: the numeric identifier for the user, the email address of the user, or the string literal 'me' indicating the requesting user.
>
> **courseId** `string` *required*
>
> Identifier of the course. This may be the Classroom-assigned identifier or an alias.
>
> #### Output
>
> **data** `string` *required*
>
> Data from the action execution
>
> **error** `string`
>
> Error if any occurred during the execution of the action
>
> **successful** `boolean` *required*
>
> Whether or not the action execution was successful or not

> [accordion] Get Teacher
>
> **Slug:** `GOOGLE_CLASSROOM_COURSES_TEACHERS_GET`
>
> Tool to get teacher enrollment. Use when you need to retrieve a specific teacher in a course by courseId and userId.
>
> #### Input Parameters
>
> **fields** `string`
>
> Selector specifying which fields to include in a partial response.
>
> **userId** `string` *required*
>
> Identifier of the teacher to retrieve. Can be the teacher's numeric user ID or email address.
>
> **courseId** `string` *required*
>
> Identifier of the course. This identifier can be either the Classroom-assigned ID or an alias.
>
> **quotaUser** `string`
>
> Arbitrary string assigned to a user for quota purposes (server-side applications only).
>
> #### Output
>
> **data** `string` *required*
>
> Data from the action execution
>
> **error** `string`
>
> Error if any occurred during the execution of the action
>
> **successful** `boolean` *required*
>
> Whether or not the action execution was successful or not

> [accordion] List Course Teachers
>
> **Slug:** `GOOGLE_CLASSROOM_COURSES_TEACHERS_LIST`
>
> Tool to list teachers in a course. Use after you have the course ID to page through enrolled teachers.
>
> #### Input Parameters
>
> **courseId** `string` *required*
>
> Identifier of the course whose teachers should be listed.
>
> **pageSize** `integer`
>
> Maximum number of teachers to return. Must be between 1 and 100.
>
> **pageToken** `string`
>
> Token specifying which page of results to return.
>
> #### Output
>
> **data** `string` *required*
>
> Data from the action execution
>
> **error** `string`
>
> Error if any occurred during the execution of the action
>
> **successful** `boolean` *required*
>
> Whether or not the action execution was successful or not

> [accordion] Create Course Topic
>
> **Slug:** `GOOGLE_CLASSROOM_COURSES_TOPICS_CREATE`
>
> Tool to create a course topic. Use when you need to organize course content into named sections.
>
> #### Input Parameters
>
> **name** `string` *required*
>
> Name of the topic.
>
> **courseId** `string` *required*
>
> Identifier of the course to create the topic in.
>
> #### Output
>
> **data** `string` *required*
>
> Data from the action execution
>
> **error** `string`
>
> Error if any occurred during the execution of the action
>
> **successful** `boolean` *required*
>
> Whether or not the action execution was successful or not

> [accordion] Delete Course Topic
>
> **Slug:** `GOOGLE_CLASSROOM_COURSES_TOPICS_DELETE`
>
> Tool to delete a course topic. Use when you need to remove a topic from a course after confirming the course and topic IDs.
>
> #### Input Parameters
>
> **id** `string` *required*
>
> Identifier of the topic to delete.
>
> **courseId** `string` *required*
>
> Identifier of the course.
>
> #### Output
>
> **data** `string` *required*
>
> Data from the action execution
>
> **error** `string`
>
> Error if any occurred during the execution of the action
>
> **successful** `boolean` *required*
>
> Whether or not the action execution was successful or not

> [accordion] Get Course Topic
>
> **Slug:** `GOOGLE_CLASSROOM_COURSES_TOPICS_GET`
>
> Tool to get a course topic. Use when you need to retrieve details of a specific course topic by ID after confirming the course and topic IDs.
>
> #### Input Parameters
>
> **id** `string` *required*
>
> Identifier of the topic to retrieve.
>
> **courseId** `string` *required*
>
> Identifier of the course. This can be the Classroom-assigned identifier or an alias.
>
> #### Output
>
> **data** `string` *required*
>
> Data from the action execution
>
> **error** `string`
>
> Error if any occurred during the execution of the action
>
> **successful** `boolean` *required*
>
> Whether or not the action execution was successful or not

> [accordion] List Course Topics
>
> **Slug:** `GOOGLE_CLASSROOM_COURSES_TOPICS_LIST`
>
> Tool to list topics in a course. Use when you have confirmed the courseId and need to retrieve its topics.
>
> #### Input Parameters
>
> **courseId** `string` *required*
>
> Identifier of the course (Classroom-assigned ID or alias).
>
> **pageSize** `integer`
>
> Maximum number of topics to return; zero means no limit.
>
> **pageToken** `string`
>
> Token identifying which page of results to return.
>
> #### Output
>
> **data** `string` *required*
>
> Data from the action execution
>
> **error** `string`
>
> Error if any occurred during the execution of the action
>
> **successful** `boolean` *required*
>
> Whether or not the action execution was successful or not

> [accordion] Patch Course Topic
>
> **Slug:** `GOOGLE_CLASSROOM_COURSES_TOPICS_PATCH`
>
> Tool to update fields of a course topic. Use when you need to rename a topic after confirming its current details.
>
> #### Input Parameters
>
> **id** `string` *required*
>
> Identifier of the topic.
>
> **name** `string`
>
> New display name of the topic.
>
> **courseId** `string` *required*
>
> Identifier of the course.
>
> **updateMask** `string`
>
> Comma-separated list of fields to update. Currently only 'name' supported.
>
> #### Output
>
> **data** `string` *required*
>
> Data from the action execution
>
> **error** `string`
>
> Error if any occurred during the execution of the action
>
> **successful** `boolean` *required*
>
> Whether or not the action execution was successful or not

> [accordion] Update Course
>
> **Slug:** `GOOGLE_CLASSROOM_COURSES_UPDATE`
>
> Tool to update a course. Use when you need to modify course details like name, description, or state. This performs a full update (PUT) of the course.
>
> #### Input Parameters
>
> **id** `string` *required*
>
> Identifier of the course to update. This can be either the Classroom-assigned identifier or an alias.
>
> **name** `string` *required*
>
> Name of the course. Max length 750 characters. Valid UTF-8.
>
> **room** `string`
>
> Room location for the course. Max length 650 characters.
>
> **ownerId** `string` *required*
>
> Identifier of the course owner. Can be the user's numeric ID or email address. Only admins can modify this field.
>
> **section** `string`
>
> Section designation of the course (e.g., 'Period 2'). Max length 2,800 characters.
>
> **courseState** `string ("COURSE_STATE_UNSPECIFIED" | "ACTIVE" | "ARCHIVED" | "PROVISIONED" | "DECLINED")`
>
> State of the course. Can be ACTIVE, ARCHIVED, PROVISIONED, or DECLINED.
>
> **description** `string`
>
> Detailed description of the course. Max length 30,000 characters.
>
> **descriptionHeading** `string`
>
> Optional heading for the course description. Max length 3,600 characters.
>
> #### Output
>
> **data** `string` *required*
>
> Data from the action execution
>
> **error** `string`
>
> Error if any occurred during the execution of the action
>
> **successful** `boolean` *required*
>
> Whether or not the action execution was successful or not

> [accordion] Patch Course Work Material
>
> **Slug:** `GOOGLE_CLASSROOM_COURSES_WORK_MATERIALS_PATCH`
>
> Tool to update fields of a course work material. Use when you need to modify specific details of an existing course work material after confirming which fields to update.
>
> #### Input Parameters
>
> **id** `string` *required*
>
> Identifier of the course work material to update.
>
> **state** `string ("DRAFT" | "PUBLISHED" | "DELETED")`
>
> State of the course work material.
>
> **title** `string`
>
> Title of the course work material (1-3,000 characters).
>
> **topicId** `string`
>
> Identifier of the topic to associate with this material.
>
> **courseId** `string` *required*
>
> Identifier of the course. Can be the Classroom-assigned identifier or an alias.
>
> **updateMask** `string` *required*
>
> Comma-separated list of fields to update. Supported fields: title, description, state, scheduledTime, topicId.
>
> **description** `string`
>
> Description of the course work material (max 30,000 characters).
>
> **scheduledTime** `string`
>
> RFC3339 timestamp when the material is scheduled to be published.
>
> #### Output
>
> **data** `string` *required*
>
> Data from the action execution
>
> **error** `string`
>
> Error if any occurred during the execution of the action
>
> **successful** `boolean` *required*
>
> Whether or not the action execution was successful or not

> [accordion] Create CourseWork
>
> **Slug:** `GOOGLE_CLASSROOM_COURSE_WORK_CREATE`
>
> Tool to create a CourseWork item in a course. Use when you need to assign an assignment or question to students immediately or on a schedule.
>
> #### Input Parameters
>
> **state** `string ("DRAFT" | "PUBLISHED")`
>
> Whether to save as draft or publish immediately
>
> **title** `string` *required*
>
> Title of the coursework
>
> **dueDate** `object`
>
> Date portion of coursework due date (year, month, day).
>
> **dueTime** `object`
>
> Time portion of coursework due time (hours, minutes, seconds, nanos).
>
> **topicId** `string`
>
> Topic ID to organize coursework under
>
> **courseId** `string` *required*
>
> Identifier of the course
>
> **workType** `string ("ASSIGNMENT" | "SHORT_ANSWER_QUESTION" | "MULTIPLE_CHOICE_QUESTION")` *required*
>
> Type of coursework being created
>
> **materials** `array`
>
> Materials to attach to the coursework
>
> **maxPoints** `number`
>
> Maximum points available for the coursework
>
> **assignment** `object`
>
> Assignment details if workType is ASSIGNMENT
>
> **description** `string`
>
> Detailed description or instructions
>
> **scheduledTime** `string`
>
> RFC3339 timestamp to auto-publish the coursework
>
> **shortAnswerQuestion** `object`
>
> Details for short-answer question.
>
> **multipleChoiceQuestion** `object`
>
> Details for multiple-choice question.
>
> **submissionModificationMode** `string ("SUBMISSION_MODIFICATION_MODE_UNSPECIFIED" | "MODIFIABLE_UNTIL_TURNED_IN" | "MODIFIABLE")`
>
> Controls if students can edit submissions after turn-in
>
> #### Output
>
> **data** `string` *required*
>
> Data from the action execution
>
> **error** `string`
>
> Error if any occurred during the execution of the action
>
> **successful** `boolean` *required*
>
> Whether or not the action execution was successful or not

> [accordion] Delete CourseWork
>
> **Slug:** `GOOGLE_CLASSROOM_COURSE_WORK_DELETE`
>
> Tool to delete a specific CourseWork. Use when you need to remove a coursework item from a course after confirming the IDs.
>
> #### Input Parameters
>
> **id** `string` *required*
>
> Identifier of the coursework item to delete.
>
> **courseId** `string` *required*
>
> Identifier of the course.
>
> #### Output
>
> **data** `string` *required*
>
> Data from the action execution
>
> **error** `string`
>
> Error if any occurred during the execution of the action
>
> **successful** `boolean` *required*
>
> Whether or not the action execution was successful or not

> [accordion] Get CourseWork
>
> **Slug:** `GOOGLE_CLASSROOM_COURSE_WORK_GET`
>
> Tool to get details of a specific coursework. Use when detailed information about a particular assignment is needed.
>
> #### Input Parameters
>
> **id** `string` *required*
>
> Identifier of the coursework item to retrieve.
>
> **courseId** `string` *required*
>
> Identifier of the course. This identifier can be either the Classroom-assigned identifier or an alias.
>
> #### Output
>
> **data** `string` *required*
>
> Data from the action execution
>
> **error** `string`
>
> Error if any occurred during the execution of the action
>
> **successful** `boolean` *required*
>
> Whether or not the action execution was successful or not

> [accordion] List CourseWork
>
> **Slug:** `GOOGLE_CLASSROOM_COURSE_WORK_LIST`
>
> Tool to list coursework in a course. Use after verifying courseId.
>
> #### Input Parameters
>
> **orderBy** `string`
>
> Sort ordering for results. Comma-separated list of fields with optional direction. Supported fields: 'updateTime', 'dueDate'. Supported direction keywords: 'asc', 'desc'. Default: 'updateTime desc'.
>
> **courseId** `string` *required*
>
> Identifier of the course (Classroom-assigned ID or alias).
>
> **pageSize** `integer`
>
> Maximum number of items to return. Zero or unspecified indicates the server may assign a maximum. The server may return fewer than the specified number.
>
> **pageToken** `string`
>
> NextPageToken from a previous list call, indicating subsequent page of results to return. Must be used with otherwise identical request.
>
> **previewVersion** `string`
>
> Preview version of the API. Set to access new capabilities in the Preview Program.
>
> **courseWorkStates** `array`
>
> Restriction on the coursework state to return. Only coursework matching one of these states is returned. If unspecified, defaults to \['PUBLISHED'].
>
> #### Output
>
> **data** `string` *required*
>
> Data from the action execution
>
> **error** `string`
>
> Error if any occurred during the execution of the action
>
> **successful** `boolean` *required*
>
> Whether or not the action execution was successful or not

> [accordion] Create Course Work Material
>
> **Slug:** `GOOGLE_CLASSROOM_COURSE_WORK_MATERIALS_CREATE`
>
> Tool to create course work material. Use when adding resources or notes to a course.
>
> #### Input Parameters
>
> **state** `string ("DRAFT" | "PUBLISHED" | "DELETED")`
>
> The state of the course work material (e.g., PUBLISHED, DRAFT).
>
> **title** `string`
>
> Title of the course work material.
>
> **topicId** `string`
>
> Identifier of the topic to which this material belongs.
>
> **courseId** `string` *required*
>
> Identifier of the course.
>
> **materials** `array`
>
> Materials attached to the course work material. Each element defines one of driveFile, link, form, or youtubeVideo.
>
> **description** `string`
>
> Description of the course work material.
>
> **assigneeMode** `string ("ALL_STUDENTS" | "INDIVIDUAL_STUDENTS")`
>
> Who can see the material. Defaults to ALL\_STUDENTS.
>
> **scheduledTime** `string`
>
> RFC3339 formatted time when the material is scheduled to be published, e.g., '2020-10-28T16:01:23Z'.
>
> **associatedWithDeveloper** `boolean`
>
> Whether this material is associated with a developer project.
>
> **individualStudentsOptions** `object`
>
> Options for INDIVIDUAL\_STUDENTS assignee mode.
>
> #### Output
>
> **data** `string` *required*
>
> Data from the action execution
>
> **error** `string`
>
> Error if any occurred during the execution of the action
>
> **successful** `boolean` *required*
>
> Whether or not the action execution was successful or not

> [accordion] Get Coursework Material
>
> **Slug:** `GOOGLE_CLASSROOM_COURSE_WORK_MATERIALS_GET`
>
> Tool to get a coursework material. Use when you need to retrieve details of a specific coursework material by course and material ID.
>
> #### Input Parameters
>
> **id** `string` *required*
>
> Identifier of the coursework material.
>
> **courseId** `string` *required*
>
> Identifier of the course. Can be Classroom-assigned identifier or an alias.
>
> #### Output
>
> **data** `string` *required*
>
> Data from the action execution
>
> **error** `string`
>
> Error if any occurred during the execution of the action
>
> **successful** `boolean` *required*
>
> Whether or not the action execution was successful or not

> [accordion] List CourseWorkMaterials
>
> **Slug:** `GOOGLE_CLASSROOM_COURSE_WORK_MATERIALS_LIST`
>
> Tool to list course work materials in a course. Use when you need to retrieve and paginate materials for a given courseId.
>
> #### Input Parameters
>
> **orderBy** `string ("updateTime asc" | "updateTime desc")`
>
> Optional sorting order; allowed values are 'updateTime asc' or 'updateTime desc'.
>
> **courseId** `string` *required*
>
> Identifier of the course whose courseWorkMaterials should be returned.
>
> **pageSize** `integer`
>
> Maximum number of items to return. Must be between 1 and 100. Defaults to 30.
>
> **pageToken** `string`
>
> Token identifying which page of results to return.
>
> #### Output
>
> **data** `string` *required*
>
> Data from the action execution
>
> **error** `string`
>
> Error if any occurred during the execution of the action
>
> **successful** `boolean` *required*
>
> Whether or not the action execution was successful or not

> [accordion] List Student Submissions
>
> **Slug:** `GOOGLE_CLASSROOM_COURSE_WORK_STUDENT_SUBMISSIONS_LIST`
>
> Tool to list student submissions for a specific coursework. Use when you need to fetch or paginate student submissions by course and coursework, optionally filtering by user, state, or timeliness.
>
> #### Input Parameters
>
> **late** `string ("LATE_ONLY" | "NOT_LATE_ONLY")`
>
> Filters returned submissions to those that are on time or late.
>
> **states** `array`
>
> Filters returned submissions to those in the specified states.
>
> **userId** `string`
>
> Restricts returned submissions to those owned by the specified user. Use numeric ID or 'me'.
>
> **courseId** `string` *required*
>
> Identifier of the course.
>
> **pageSize** `integer`
>
> Maximum number of items to return. Defaults to 30; maximum is 100.
>
> **pageToken** `string`
>
> Token for next page of results.
>
> **courseWorkId** `string` *required*
>
> Identifier of the coursework; use '-' to return submissions for all coursework in the course.
>
> #### Output
>
> **data** `string` *required*
>
> Data from the action execution
>
> **error** `string`
>
> Error if any occurred during the execution of the action
>
> **successful** `boolean` *required*
>
> Whether or not the action execution was successful or not

> [accordion] Reclaim Student Submission
>
> **Slug:** `GOOGLE_CLASSROOM_COURSE_WORK_STUDENT_SUBMISSIONS_RECLAIM`
>
> Tool to reclaim a student submission for editing. Use after a student requests to edit their turned-in submission, resetting its state to CREATED.
>
> #### Input Parameters
>
> **id** `string` *required*
>
> Identifier of the student submission.
>
> **courseId** `string` *required*
>
> Identifier of the course.
>
> **courseWorkId** `string` *required*
>
> Identifier of the coursework.
>
> #### Output
>
> **data** `string` *required*
>
> Data from the action execution
>
> **error** `string`
>
> Error if any occurred during the execution of the action
>
> **successful** `boolean` *required*
>
> Whether or not the action execution was successful or not

> [accordion] Create Announcement Add-on Attachment
>
> **Slug:** `GOOGLE_CLASSROOM_CREATE_ANNOUNCEMENT_ADDON_ATTACHMENT`
>
> Create an add-on attachment on an announcement. The add-on must have permission to create attachments on the parent post.
>
> #### Input Parameters
>
> **id** `string`
>
> Immutable Classroom-assigned attachment identifier, unique per post.
>
> **title** `string` *required*
>
> Required. Attachment title, between 1 and 1000 characters.
>
> **itemId** `string` *required*
>
> Required. Announcement identifier in the request path.
>
> **postId** `string`
>
> Deprecated query post identifier; use itemId instead.
>
> **dueDate** `object`
>
> Due date in UTC; must be specified together with dueTime.
>
> **dueTime** `object`
>
> Due time in UTC; must be specified together with dueDate.
>
> **courseId** `string` *required*
>
> Required. Course identifier in the request path.
>
> **maxPoints** `number`
>
> Non-negative integer maximum grade. Requires studentWorkReviewUri; zero disables grade passback, nonzero enables it.
>
> **addOnToken** `string`
>
> Authorization token from the Classroom redirect. Required for in-Classroom creation; optional for partner-first creation when the attachment and parent developer projects match.
>
> **bodyItemId** `string`
>
> Immutable parent post identifier in the attachment body, unique per course.
>
> **bodyPostId** `string`
>
> Deprecated immutable post identifier in the attachment body; use bodyItemId instead.
>
> **bodyCourseId** `string`
>
> Immutable course identifier in the attachment body.
>
> **studentViewUri** `object` *required*
>
> Required. Student view URI; Classroom adds courseId, itemId, itemType, and attachmentId query parameters.
>
> **teacherViewUri** `object` *required*
>
> Required. Teacher view URI; Classroom adds courseId, itemId, itemType, and attachmentId query parameters.
>
> **studentWorkReviewUri** `object`
>
> Teacher student-work review URI; also receives submissionId. If omitted or removed, maxPoints is discarded.
>
> #### Output
>
> **data** `string` *required*
>
> Data from the action execution
>
> **error** `string`
>
> Error if any occurred during the execution of the action
>
> **successful** `boolean` *required*
>
> Whether or not the action execution was successful or not

> [accordion] Create Coursework Add-on Attachment
>
> **Slug:** `GOOGLE_CLASSROOM_CREATE_COURSEWORK_ADDON_ATTACHMENT`
>
> Create an add-on attachment on course work. The add-on must have permission to create attachments on the parent post.
>
> #### Input Parameters
>
> **id** `string`
>
> Immutable Classroom-assigned attachment identifier, unique per post.
>
> **title** `string` *required*
>
> Required. Attachment title, between 1 and 1000 characters.
>
> **itemId** `string` *required*
>
> Required. Course work identifier in the request path.
>
> **postId** `string`
>
> Deprecated query post identifier; use itemId instead.
>
> **dueDate** `object`
>
> Due date in UTC; must be specified together with dueTime.
>
> **dueTime** `object`
>
> Due time in UTC; must be specified together with dueDate.
>
> **courseId** `string` *required*
>
> Required. Course identifier in the request path.
>
> **maxPoints** `number`
>
> Non-negative integer maximum grade. Requires studentWorkReviewUri; zero disables grade passback, nonzero enables it.
>
> **addOnToken** `string`
>
> Authorization token from the Classroom redirect. Required for in-Classroom creation; optional for partner-first creation when the attachment and parent developer projects match.
>
> **bodyItemId** `string`
>
> Immutable parent post identifier in the attachment body, unique per course.
>
> **bodyPostId** `string`
>
> Deprecated immutable post identifier in the attachment body; use bodyItemId instead.
>
> **bodyCourseId** `string`
>
> Immutable course identifier in the attachment body.
>
> **studentViewUri** `object` *required*
>
> Required. Student view URI; Classroom adds courseId, itemId, itemType, and attachmentId query parameters.
>
> **teacherViewUri** `object` *required*
>
> Required. Teacher view URI; Classroom adds courseId, itemId, itemType, and attachmentId query parameters.
>
> **studentWorkReviewUri** `object`
>
> Teacher student-work review URI; also receives submissionId. If omitted or removed, maxPoints is discarded.
>
> #### Output
>
> **data** `string` *required*
>
> Data from the action execution
>
> **error** `string`
>
> Error if any occurred during the execution of the action
>
> **successful** `boolean` *required*
>
> Whether or not the action execution was successful or not

> [accordion] Create Material Add-on Attachment
>
> **Slug:** `GOOGLE_CLASSROOM_CREATE_MATERIAL_ADDON_ATTACHMENT`
>
> Create an add-on attachment on a course work material. The add-on must have permission to create attachments on the parent post.
>
> #### Input Parameters
>
> **id** `string`
>
> Immutable Classroom-assigned attachment identifier, unique per post.
>
> **title** `string` *required*
>
> Required. Attachment title, between 1 and 1000 characters.
>
> **itemId** `string` *required*
>
> Required. Course work material identifier in the request path.
>
> **postId** `string`
>
> Deprecated query post identifier; use itemId instead.
>
> **dueDate** `object`
>
> Due date in UTC; must be specified together with dueTime.
>
> **dueTime** `object`
>
> Due time in UTC; must be specified together with dueDate.
>
> **courseId** `string` *required*
>
> Required. Course identifier in the request path.
>
> **maxPoints** `number`
>
> Non-negative integer maximum grade. Requires studentWorkReviewUri; zero disables grade passback, nonzero enables it.
>
> **addOnToken** `string`
>
> Authorization token from the Classroom redirect. Required for in-Classroom creation; optional for partner-first creation when the attachment and parent developer projects match.
>
> **bodyItemId** `string`
>
> Immutable parent post identifier in the attachment body, unique per course.
>
> **bodyPostId** `string`
>
> Deprecated immutable post identifier in the attachment body; use bodyItemId instead.
>
> **bodyCourseId** `string`
>
> Immutable course identifier in the attachment body.
>
> **studentViewUri** `object` *required*
>
> Required. Student view URI; Classroom adds courseId, itemId, itemType, and attachmentId query parameters.
>
> **teacherViewUri** `object` *required*
>
> Required. Teacher view URI; Classroom adds courseId, itemId, itemType, and attachmentId query parameters.
>
> **studentWorkReviewUri** `object`
>
> Teacher student-work review URI; also receives submissionId. If omitted or removed, maxPoints is discarded.
>
> #### Output
>
> **data** `string` *required*
>
> Data from the action execution
>
> **error** `string`
>
> Error if any occurred during the execution of the action
>
> **successful** `boolean` *required*
>
> Whether or not the action execution was successful or not

> [accordion] Create Rubric
>
> **Slug:** `GOOGLE_CLASSROOM_CREATE_RUBRIC`
>
> Create a rubric for course work using criteria or a formatted spreadsheet. 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 item. Spreadsheet imports also require a Google Sheets scope.
>
> #### Input Parameters
>
> **courseId** `string` *required*
>
> Required course identifier.
>
> **criteria** `array`
>
> Rubric criteria, each describing a dimension of performance. Use either criteria or sourceSpreadsheetId.
>
> **courseWorkId** `string` *required*
>
> Required course work identifier.
>
> **sourceSpreadsheetId** `string`
>
> Input-only, immutable Google Sheets ID containing formatted rubric settings. Requires spreadsheets.readonly or spreadsheets scope in addition to Classroom authorization. Use instead of criteria.
>
> #### Output
>
> **data** `string` *required*
>
> Data from the action execution
>
> **error** `string`
>
> Error if any occurred during the execution of the action
>
> **successful** `boolean` *required*
>
> Whether or not the action execution was successful or not

> [accordion] Create Student Group
>
> **Slug:** `GOOGLE_CLASSROOM_CREATE_STUDENT_GROUP`
>
> Create a student group for a course. Fails if the caller lacks access or the course has reached its maximum number of student groups.
>
> #### Input Parameters
>
> **id** `string`
>
> The identifier of the student group.
>
> **title** `string`
>
> The title of the student group.
>
> **courseId** `string` *required*
>
> Required. The identifier of the course in the request path.
>
> **bodyCourseId** `string`
>
> Optional course identifier in the StudentGroup request body.
>
> #### Output
>
> **data** `string` *required*
>
> Data from the action execution
>
> **error** `string`
>
> Error if any occurred during the execution of the action
>
> **successful** `boolean` *required*
>
> Whether or not the action execution was successful or not

> [accordion] Delete Material Add-on Attachment
>
> **Slug:** `GOOGLE_CLASSROOM_DELETE_MATERIAL_ADDON_ATTACHMENT`
>
> Delete an add-on attachment from a course work material using its identifiers. Requires the calling add-on to have originally created the attachment.
>
> #### Input Parameters
>
> **itemId** `string` *required*
>
> Identifier of the course work material containing the attachment.
>
> **postId** `string`
>
> Deprecated optional post identifier. Use itemId instead.
>
> **courseId** `string` *required*
>
> Identifier of the course.
>
> **attachmentId** `string` *required*
>
> Identifier of the attachment to delete.
>
> #### Output
>
> **data** `string` *required*
>
> Data from the action execution
>
> **error** `string`
>
> Error if any occurred during the execution of the action
>
> **successful** `boolean` *required*
>
> Whether or not the action execution was successful or not

> [accordion] Delete Registration
>
> **Slug:** `GOOGLE_CLASSROOM_DELETE_REGISTRATION`
>
> Delete a notification registration, stopping Classroom notifications for it. Use when notifications for an existing registration are no longer needed.
>
> #### Input Parameters
>
> **registrationId** `string` *required*
>
> The registration\_id of the notification registration to delete.
>
> #### Output
>
> **data** `string` *required*
>
> Data from the action execution
>
> **error** `string`
>
> Error if any occurred during the execution of the action
>
> **successful** `boolean` *required*
>
> Whether or not the action execution was successful or not

> [accordion] Delete Rubric
>
> **Slug:** `GOOGLE_CLASSROOM_DELETE_RUBRIC`
>
> Delete a rubric before grading has started using its course and work IDs. The requesting user and course owner must have rubric creation capabilities. The request must use the developer project that created the rubric.
>
> #### Input Parameters
>
> **id** `string` *required*
>
> Identifier of the rubric to delete.
>
> **courseId** `string` *required*
>
> Identifier of the course.
>
> **courseWorkId** `string` *required*
>
> Identifier of the course work.
>
> #### Output
>
> **data** `string` *required*
>
> Data from the action execution
>
> **error** `string`
>
> Error if any occurred during the execution of the action
>
> **successful** `boolean` *required*
>
> Whether or not the action execution was successful or not

> [accordion] Delete Student Group
>
> **Slug:** `GOOGLE_CLASSROOM_DELETE_STUDENT_GROUP`
>
> Delete a student group from a course using its course and student group IDs. Use when an existing student group is no longer needed.
>
> #### Input Parameters
>
> **id** `string` *required*
>
> Identifier of the student group to delete.
>
> **courseId** `string` *required*
>
> Identifier of the course containing the student group to delete.
>
> #### Output
>
> **data** `string` *required*
>
> Data from the action execution
>
> **error** `string`
>
> Error if any occurred during the execution of the action
>
> **successful** `boolean` *required*
>
> Whether or not the action execution was successful or not

> [accordion] Delete Student Guardian
>
> **Slug:** `GOOGLE_CLASSROOM_DELETE_STUDENT_GUARDIAN`
>
> Delete a student's guardian to stop their guardian notifications. Use after confirming the student and guardian IDs. The guardian will no longer receive guardian notifications or be accessible through the API.
>
> #### Input Parameters
>
> **studentId** `string` *required*
>
> Student's numeric user identifier, email address, or 'me' for the requesting user.
>
> **guardianId** `string` *required*
>
> The id field of the Guardian to delete for this student.
>
> #### Output
>
> **data** `string` *required*
>
> Data from the action execution
>
> **error** `string`
>
> Error if any occurred during the execution of the action
>
> **successful** `boolean` *required*
>
> Whether or not the action execution was successful or not

> [accordion] Get Add-on Attachment Submission
>
> **Slug:** `GOOGLE_CLASSROOM_GET_ADDON_ATTACHMENT_SUBMISSION`
>
> Retrieve a student's submission for a course work add-on attachment using the course, course work, attachment, and submission IDs.
>
> #### Input Parameters
>
> **itemId** `string` *required*
>
> Identifier of the parent course work.
>
> **postId** `string`
>
> Deprecated parent post identifier; use itemId instead.
>
> **courseId** `string` *required*
>
> Identifier of the course.
>
> **attachmentId** `string` *required*
>
> Identifier of the add-on attachment.
>
> **submissionId** `string` *required*
>
> Identifier of the student's submission.
>
> #### Output
>
> **data** `string` *required*
>
> Data from the action execution
>
> **error** `string`
>
> Error if any occurred during the execution of the action
>
> **successful** `boolean` *required*
>
> Whether or not the action execution was successful or not

> [accordion] Get CourseWork Add-on Attachment
>
> **Slug:** `GOOGLE_CLASSROOM_GET_COURSEWORK_ADDON_ATTACHMENT`
>
> Tool to get an add-on attachment from course work. Use when you need to retrieve a specific add-on attachment. Requires the add-on requesting the attachment to be the original creator.
>
> #### Input Parameters
>
> **postId** `string` *required*
>
> Identifier of the CourseWork item containing the attachment.
>
> **courseId** `string` *required*
>
> Identifier of the course.
>
> **attachmentId** `string` *required*
>
> Identifier of the add-on attachment. Classroom-assigned identifier for this attachment, unique per post.
>
> #### Output
>
> **data** `string` *required*
>
> Data from the action execution
>
> **error** `string`
>
> Error if any occurred during the execution of the action
>
> **successful** `boolean` *required*
>
> Whether or not the action execution was successful or not

> [accordion] Get Add-on Context for Course Work Material
>
> **Slug:** `GOOGLE_CLASSROOM_GET_COURSEWORK_MATERIAL_ADDON_CONTEXT`
>
> Tool to get metadata for Classroom add-ons in the context of a specific course work material. Use when validating query parameters for add-ons loading in an iframe. Returns course/item identifiers and role-specific context.
>
> #### Input Parameters
>
> **itemId** `string` *required*
>
> Identifier of the Announcement, CourseWork, or CourseWorkMaterial resource.
>
> **courseId** `string` *required*
>
> Identifier of the course.
>
> **addOnToken** `string`
>
> Optional. Authorization token passed when redirected from Classroom. Required unless the add-on has attachments or the developer project created the post.
>
> **attachmentId** `string`
>
> Optional. The attachment identifier. Required for most requests except Attachment Discovery iframe scenarios.
>
> #### Output
>
> **data** `string` *required*
>
> Data from the action execution
>
> **error** `string`
>
> Error if any occurred during the execution of the action
>
> **successful** `boolean` *required*
>
> Whether or not the action execution was successful or not

> [accordion] Get Guardian Invitation
>
> **Slug:** `GOOGLE_CLASSROOM_GET_GUARDIAN_INVITATION`
>
> Retrieve a specific guardian invitation for a student by invitation ID. Requires permission to view the student's guardian invitations and guardians to be enabled for the domain. The invited email is visible only to domain administrators.
>
> #### Input Parameters
>
> **studentId** `string` *required*
>
> Student's numeric user identifier, email address, or 'me' for the requesting user.
>
> **invitationId** `string` *required*
>
> The id of the GuardianInvitation to retrieve.
>
> #### Output
>
> **data** `string` *required*
>
> Data from the action execution
>
> **error** `string`
>
> Error if any occurred during the execution of the action
>
> **successful** `boolean` *required*
>
> Whether or not the action execution was successful or not

> [accordion] Get Material Add-on Attachment
>
> **Slug:** `GOOGLE_CLASSROOM_GET_MATERIAL_ADDON_ATTACHMENT`
>
> Retrieve an add-on attachment on a course work material by its IDs. The requesting add-on must be the attachment's original creator.
>
> #### Input Parameters
>
> **itemId** `string` *required*
>
> Identifier of the course work material.
>
> **postId** `string`
>
> Deprecated post identifier; use itemId instead.
>
> **courseId** `string` *required*
>
> Identifier of the course.
>
> **attachmentId** `string` *required*
>
> Identifier of the add-on attachment.
>
> #### Output
>
> **data** `string` *required*
>
> Data from the action execution
>
> **error** `string`
>
> Error if any occurred during the execution of the action
>
> **successful** `boolean` *required*
>
> Whether or not the action execution was successful or not

> [accordion] Get Rubric
>
> **Slug:** `GOOGLE_CLASSROOM_GET_RUBRIC`
>
> Retrieve a rubric's criteria, scoring levels, and timestamps using its course, course work, and rubric IDs.
>
> #### Input Parameters
>
> **id** `string` *required*
>
> Identifier of the rubric.
>
> **courseId** `string` *required*
>
> Identifier of the course.
>
> **courseWorkId** `string` *required*
>
> Identifier of the course work.
>
> #### Output
>
> **data** `string` *required*
>
> Data from the action execution
>
> **error** `string`
>
> Error if any occurred during the execution of the action
>
> **successful** `boolean` *required*
>
> Whether or not the action execution was successful or not

> [accordion] Get Student Guardian
>
> **Slug:** `GOOGLE_CLASSROOM_GET_STUDENT_GUARDIAN`
>
> Retrieve a specific guardian relationship for a student using the guardian ID. Requires permission to view the student's guardian information and guardians to be enabled for the domain.
>
> #### Input Parameters
>
> **studentId** `string` *required*
>
> Student's numeric user identifier, email address, or 'me' for the requesting user.
>
> **guardianId** `string` *required*
>
> Identifier of the guardian from a Guardian resource.
>
> #### Output
>
> **data** `string` *required*
>
> Data from the action execution
>
> **error** `string`
>
> Error if any occurred during the execution of the action
>
> **successful** `boolean` *required*
>
> Whether or not the action execution was successful or not

> [accordion] Get Student Submission
>
> **Slug:** `GOOGLE_CLASSROOM_GET_STUDENT_SUBMISSION`
>
> Retrieve one student's submission by course, course work, and submission ID, including available answers, attachments, grades, and history.
>
> #### Input Parameters
>
> **id** `string` *required*
>
> Identifier of the student submission.
>
> **courseId** `string` *required*
>
> Classroom-assigned course identifier or course alias.
>
> **courseWorkId** `string` *required*
>
> Identifier of the course work.
>
> #### Output
>
> **data** `string` *required*
>
> Data from the action execution
>
> **error** `string`
>
> Error if any occurred during the execution of the action
>
> **successful** `boolean` *required*
>
> Whether or not the action execution was successful or not

> [accordion] Create Invitation
>
> **Slug:** `GOOGLE_CLASSROOM_INVITATIONS_CREATE`
>
> Tool to create an invitation for a user to a course. Use after confirming the course ID is valid.
>
> #### Input Parameters
>
> **role** `string ("STUDENT" | "TEACHER")` *required*
>
> Role to invite the user as.
>
> **userId** `string` *required*
>
> Identifier of the user to invite. Can be the user's numeric ID or email address.
>
> **courseId** `string` *required*
>
> Identifier of the course to invite the user to.
>
> #### Output
>
> **data** `string` *required*
>
> Data from the action execution
>
> **error** `string`
>
> Error if any occurred during the execution of the action
>
> **successful** `boolean` *required*
>
> Whether or not the action execution was successful or not

> [accordion] Delete Invitation
>
> **Slug:** `GOOGLE_CLASSROOM_INVITATIONS_DELETE`
>
> Tool to delete an invitation. Use when you need to remove an invitation after confirming the invitation ID.
>
> #### Input Parameters
>
> **id** `string` *required*
>
> Identifier of the invitation to delete.
>
> #### Output
>
> **data** `string` *required*
>
> Data from the action execution
>
> **error** `string`
>
> Error if any occurred during the execution of the action
>
> **successful** `boolean` *required*
>
> Whether or not the action execution was successful or not

> [accordion] Get Invitation
>
> **Slug:** `GOOGLE_CLASSROOM_INVITATIONS_GET`
>
> Tool to retrieve an invitation by its identifier. Use when you need to view invitation details.
>
> #### Input Parameters
>
> **id** `string` *required*
>
> Identifier of the invitation to return.
>
> #### Output
>
> **data** `string` *required*
>
> Data from the action execution
>
> **error** `string`
>
> Error if any occurred during the execution of the action
>
> **successful** `boolean` *required*
>
> Whether or not the action execution was successful or not

> [accordion] List Invitations
>
> **Slug:** `GOOGLE_CLASSROOM_INVITATIONS_LIST`
>
> Tool to list invitations that the requesting user is permitted to view. At least one of userId or courseId must be supplied.
>
> #### Input Parameters
>
> **userId** `string`
>
> Restricts returned invitations to those for a specific user. Can be the user's numeric identifier, email address, or 'me' for the requesting user. At least one of userId or courseId must be supplied.
>
> **courseId** `string`
>
> Restricts returned invitations to those for a course with the specified identifier. At least one of userId or courseId must be supplied.
>
> **pageSize** `integer`
>
> Maximum number of items to return. Zero or unspecified indicates that the server may assign a maximum. The server may return fewer than the specified number of results.
>
> **pageToken** `string`
>
> Token identifying the next page of results to return. Obtained from a previous list call's nextPageToken.
>
> #### Output
>
> **data** `string` *required*
>
> Data from the action execution
>
> **error** `string`
>
> Error if any occurred during the execution of the action
>
> **successful** `boolean` *required*
>
> Whether or not the action execution was successful or not

> [accordion] Invite Student Guardian
>
> **Slug:** `GOOGLE_CLASSROOM_INVITE_STUDENT_GUARDIAN`
>
> Invite a student's guardian by email to receive guardian notifications. Requires permission to manage guardians and guardians enabled for the domain. Sends an email asking the guardian to confirm their relationship to the student. Fails if the guardian already exists or a matching invitation is pending.
>
> #### Input Parameters
>
> **state** `string`
>
> Optional initial invitation state; only PENDING is accepted.
>
> **studentId** `string` *required*
>
> Student identifier in standard format, used in the path and body.
>
> **invitedEmailAddress** `string` *required*
>
> Email address of the guardian to invite.
>
> #### Output
>
> **data** `string` *required*
>
> Data from the action execution
>
> **error** `string`
>
> Error if any occurred during the execution of the action
>
> **successful** `boolean` *required*
>
> Whether or not the action execution was successful or not

> [accordion] List Add-on Attachment Submissions
>
> **Slug:** `GOOGLE_CLASSROOM_LIST_ADDON_ATTACHMENT_SUBMISSIONS`
>
> List one page of student submissions the requester may view for a course work add-on attachment. Use nextPageToken as pageToken to retrieve subsequent pages.
>
> #### Input Parameters
>
> **itemId** `string` *required*
>
> Identifier of the course work containing the attachment.
>
> **courseId** `string` *required*
>
> Identifier of the course.
>
> **pageSize** `integer`
>
> Maximum submissions to return. Zero or omitted lets the server choose a maximum; fewer results may be returned.
>
> **pageToken** `string`
>
> Token from a previous list response to retrieve the next page. All other parameters must match the call that returned the token.
>
> **attachmentId** `string` *required*
>
> Identifier of the add-on attachment.
>
> #### Output
>
> **data** `string` *required*
>
> Data from the action execution
>
> **error** `string`
>
> Error if any occurred during the execution of the action
>
> **successful** `boolean` *required*
>
> Whether or not the action execution was successful or not

> [accordion] List Course Student Groups
>
> **Slug:** `GOOGLE_CLASSROOM_LIST_COURSES_STUDENT_GROUPS`
>
> Tool to list student groups in a course. Use when you need to retrieve groups within a specific course.
>
> #### Input Parameters
>
> **courseId** `string` *required*
>
> Identifier of the course. Can be the Classroom-assigned identifier or an alias.
>
> **pageSize** `integer`
>
> Maximum number of items to return. Zero or unspecified indicates no limit.
>
> **pageToken** `string`
>
> Token specifying which page of results to return. Obtain from a previous list call's nextPageToken.
>
> #### Output
>
> **data** `string` *required*
>
> Data from the action execution
>
> **error** `string`
>
> Error if any occurred during the execution of the action
>
> **successful** `boolean` *required*
>
> Whether or not the action execution was successful or not

> [accordion] List CourseWork Add-on Attachments
>
> **Slug:** `GOOGLE_CLASSROOM_LIST_COURSEWORK_ADDON_ATTACHMENTS`
>
> Tool 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.
>
> #### Input Parameters
>
> **postId** `string` *required*
>
> Identifier of the CourseWork whose attachments should be listed.
>
> **courseId** `string` *required*
>
> Identifier of the course.
>
> #### Output
>
> **data** `string` *required*
>
> Data from the action execution
>
> **error** `string`
>
> Error if any occurred during the execution of the action
>
> **successful** `boolean` *required*
>
> Whether or not the action execution was successful or not

> [accordion] List Guardian Invitations
>
> **Slug:** `GOOGLE_CLASSROOM_LIST_GUARDIAN_INVITATIONS`
>
> List 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.
>
> #### Input Parameters
>
> **states** `array`
>
> Filter by invitation states. If omitted, only PENDING invitations are returned. COMPLETE includes accepted, declined, withdrawn, or expired invitations. GUARDIAN\_INVITATION\_STATE\_UNSPECIFIED should never be returned.
>
> **pageSize** `integer`
>
> Maximum number of items to return. Zero or unspecified lets the server assign a maximum; fewer results may be returned.
>
> **pageToken** `string`
>
> nextPageToken from a previous list call. All other request parameters must remain identical.
>
> **studentId** `string` *required*
>
> Student numeric ID, email address, 'me' for the requesting user, or '-' for all accessible students (domain administrators only).
>
> **invitedEmailAddress** `string`
>
> Return only invitations sent to this email address.
>
> #### Output
>
> **data** `string` *required*
>
> Data from the action execution
>
> **error** `string`
>
> Error if any occurred during the execution of the action
>
> **successful** `boolean` *required*
>
> Whether or not the action execution was successful or not

> [accordion] List Student Group Members
>
> **Slug:** `GOOGLE_CLASSROOM_LIST_STUDENT_GROUP_MEMBERS`
>
> List 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.
>
> #### Input Parameters
>
> **courseId** `string` *required*
>
> Required. The identifier of the course.
>
> **pageSize** `integer`
>
> Maximum number of items to return. Zero or unspecified lets the server assign a maximum; fewer results may be returned.
>
> **pageToken** `string`
>
> nextPageToken from a previous list call. All other request parameters must match that call.
>
> **studentGroupId** `string` *required*
>
> Required. The identifier of the student group.
>
> #### Output
>
> **data** `string` *required*
>
> Data from the action execution
>
> **error** `string`
>
> Error if any occurred during the execution of the action
>
> **successful** `boolean` *required*
>
> Whether or not the action execution was successful or not

> [accordion] List Student Guardians
>
> **Slug:** `GOOGLE_CLASSROOM_LIST_STUDENT_GUARDIANS`
>
> List 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.
>
> #### Input Parameters
>
> **pageSize** `integer`
>
> Maximum number of items to return. Zero or unspecified lets the server assign a maximum; fewer results may be returned.
>
> **pageToken** `string`
>
> nextPageToken from a previous list call. All other request parameters must remain identical.
>
> **studentId** `string` *required*
>
> Student numeric ID, email address, 'me' for the requesting user, or '-' for all accessible students (domain administrators only).
>
> **invitedEmailAddress** `string`
>
> Filter by the email address to which the original invitation was sent. Only domain administrators may use this filter.
>
> #### Output
>
> **data** `string` *required*
>
> Data from the action execution
>
> **error** `string`
>
> Error if any occurred during the execution of the action
>
> **successful** `boolean` *required*
>
> Whether or not the action execution was successful or not

> [accordion] Modify Student Submission Attachments
>
> **Slug:** `GOOGLE_CLASSROOM_MODIFY_STUDENT_SUBMISSION_ATTACHMENTS`
>
> Add 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.
>
> #### Input Parameters
>
> **id** `string` *required*
>
> Identifier of the student submission.
>
> **courseId** `string` *required*
>
> Classroom-assigned course identifier or course alias.
>
> **courseWorkId** `string` *required*
>
> Identifier of the course work.
>
> **addAttachments** `array`
>
> Attachments to add. A submission may have at most 20 attachments. Form attachments are not supported.
>
> #### Output
>
> **data** `string` *required*
>
> Data from the action execution
>
> **error** `string`
>
> Error if any occurred during the execution of the action
>
> **successful** `boolean` *required*
>
> Whether or not the action execution was successful or not

> [accordion] Create Registration
>
> **Slug:** `GOOGLE_CLASSROOM_REGISTRATIONS_CREATE`
>
> Tool 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](https://www.googleapis.com/auth/classroom.push-notifications).
>
> #### Input Parameters
>
> **feed** `object` *required*
>
> Specification of the feed to subscribe to. The feedType determines which notifications will be sent, and conditional info fields must be provided based on the feedType.
>
> **cloudPubsubTopic** `object` *required*
>
> The Cloud Pub/Sub topic where notifications will be published. Classroom must have permission to publish to this topic.
>
> #### Output
>
> **data** `string` *required*
>
> Data from the action execution
>
> **error** `string`
>
> Error if any occurred during the execution of the action
>
> **successful** `boolean` *required*
>
> Whether or not the action execution was successful or not

> [accordion] Remove Student Group Member
>
> **Slug:** `GOOGLE_CLASSROOM_REMOVE_STUDENT_GROUP_MEMBER`
>
> Remove 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.
>
> #### Input Parameters
>
> **userId** `string` *required*
>
> Identifier of the student group member to remove.
>
> **courseId** `string` *required*
>
> Identifier of the course containing the relevant student group.
>
> **studentGroupId** `string` *required*
>
> Identifier of the student group containing the member to remove.
>
> #### Output
>
> **data** `string` *required*
>
> Data from the action execution
>
> **error** `string`
>
> Error if any occurred during the execution of the action
>
> **successful** `boolean` *required*
>
> Whether or not the action execution was successful or not

> [accordion] Return Student Submission
>
> **Slug:** `GOOGLE_CLASSROOM_RETURN_STUDENT_SUBMISSION`
>
> Return 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.
>
> #### Input Parameters
>
> **id** `string` *required*
>
> Identifier of the student submission.
>
> **courseId** `string` *required*
>
> Classroom-assigned course identifier or course alias.
>
> **courseWorkId** `string` *required*
>
> Identifier of the course work.
>
> #### Output
>
> **data** `string` *required*
>
> Data from the action execution
>
> **error** `string`
>
> Error if any occurred during the execution of the action
>
> **successful** `boolean` *required*
>
> Whether or not the action execution was successful or not

> [accordion] Turn In Student Submission
>
> **Slug:** `GOOGLE_CLASSROOM_TURN_IN_STUDENT_SUBMISSION`
>
> Turn 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.
>
> #### Input Parameters
>
> **id** `string` *required*
>
> Identifier of the student submission.
>
> **courseId** `string` *required*
>
> Classroom-assigned course identifier or course alias.
>
> **courseWorkId** `string` *required*
>
> Identifier of the course work.
>
> #### Output
>
> **data** `string` *required*
>
> Data from the action execution
>
> **error** `string`
>
> Error if any occurred during the execution of the action
>
> **successful** `boolean` *required*
>
> Whether or not the action execution was successful or not

> [accordion] Update Add-on Attachment Submission
>
> **Slug:** `GOOGLE_CLASSROOM_UPDATE_ADDON_ATTACHMENT_SUBMISSION`
>
> Update 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.
>
> #### Input Parameters
>
> **itemId** `string` *required*
>
> Required parent course work identifier.
>
> **postId** `string`
>
> Deprecated parent post identifier query parameter; use itemId.
>
> **courseId** `string` *required*
>
> Required course identifier.
>
> **updateMask** `string` *required*
>
> Required field mask. Teachers may specify points\_earned. To clear a supported field, include it in the mask and omit its body value.
>
> **attachmentId** `string` *required*
>
> Required add-on attachment identifier.
>
> **pointsEarned** `number`
>
> Student grade on this attachment; unset means no grade.
>
> **submissionId** `string` *required*
>
> Required student submission identifier.
>
> **postSubmissionState** `string ("SUBMISSION_STATE_UNSPECIFIED" | "NEW" | "CREATED" | "TURNED_IN" | "RETURNED" | "RECLAIMED_BY_STUDENT")`
>
> Submission state of the attachment's parent assignment. Present in the resource schema, but not a supported teacher update-mask field.
>
> #### Output
>
> **data** `string` *required*
>
> Data from the action execution
>
> **error** `string`
>
> Error if any occurred during the execution of the action
>
> **successful** `boolean` *required*
>
> Whether or not the action execution was successful or not

> [accordion] Update Announcement Add-on Attachment
>
> **Slug:** `GOOGLE_CLASSROOM_UPDATE_ANNOUNCEMENT_ADDON_ATTACHMENT`
>
> Update 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.
>
> #### Input Parameters
>
> **id** `string`
>
> Immutable Classroom-assigned attachment identifier in the body; not a supported update-mask field.
>
> **title** `string`
>
> Attachment title, between 1 and 1000 characters when set.
>
> **itemId** `string` *required*
>
> Required parent announcement identifier in the path.
>
> **postId** `string`
>
> Legacy parent post identifier query parameter; use itemId.
>
> **dueDate** `object`
>
> Due date in UTC; must be paired with dueTime when specified.
>
> **dueTime** `object`
>
> Due time in UTC; must be paired with dueDate when specified.
>
> **courseId** `string` *required*
>
> Required course identifier in the path.
>
> **maxPoints** `number`
>
> Non-negative integer-valued maximum grade, requiring studentWorkReviewUri. Zero disables grade passback; nonzero enables it.
>
> **bodyItemId** `string`
>
> Immutable parent post identifier in the attachment body; not a supported update-mask field.
>
> **bodyPostId** `string`
>
> Deprecated immutable post identifier in the body; use bodyItemId.
>
> **updateMask** `string` *required*
>
> Required comma-separated field mask. Teachers may update title, teacher\_view\_uri, student\_view\_uri, student\_work\_review\_uri, due\_date, due\_time, max\_points. To clear a field that supports empty values, include it in the mask and omit its body value.
>
> **attachmentId** `string` *required*
>
> Required attachment identifier in the path.
>
> **bodyCourseId** `string`
>
> Immutable course identifier in the attachment body; not a supported update-mask field.
>
> **studentViewUri** `object`
>
> Student view URI, opened with courseId, itemId, itemType, and attachmentId query parameters.
>
> **teacherViewUri** `object`
>
> Teacher view URI, opened with courseId, itemId, itemType, and attachmentId query parameters.
>
> **studentWorkReviewUri** `object`
>
> Teacher student-work review URI, also opened with submissionId. Removing it discards maxPoints.
>
> #### Output
>
> **data** `string` *required*
>
> Data from the action execution
>
> **error** `string`
>
> Error if any occurred during the execution of the action
>
> **successful** `boolean` *required*
>
> Whether or not the action execution was successful or not

> [accordion] Update Coursework Add-on Attachment
>
> **Slug:** `GOOGLE_CLASSROOM_UPDATE_COURSEWORK_ADDON_ATTACHMENT`
>
> Update 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.
>
> #### Input Parameters
>
> **id** `string`
>
> Immutable Classroom-assigned attachment identifier in the body; not a supported update-mask field.
>
> **title** `string`
>
> Attachment title, between 1 and 1000 characters when set.
>
> **itemId** `string` *required*
>
> Required parent course work identifier in the path.
>
> **postId** `string`
>
> Legacy parent post identifier query parameter; use itemId.
>
> **dueDate** `object`
>
> Due date in UTC; must be paired with dueTime when specified.
>
> **dueTime** `object`
>
> Due time in UTC; must be paired with dueDate when specified.
>
> **courseId** `string` *required*
>
> Required course identifier in the path.
>
> **maxPoints** `number`
>
> Non-negative integer-valued maximum grade, requiring studentWorkReviewUri. Zero disables grade passback; nonzero enables it.
>
> **bodyItemId** `string`
>
> Immutable parent post identifier in the attachment body; not a supported update-mask field.
>
> **bodyPostId** `string`
>
> Deprecated immutable post identifier in the body; use bodyItemId.
>
> **updateMask** `string` *required*
>
> Required comma-separated field mask. Teachers may update title, teacher\_view\_uri, student\_view\_uri, student\_work\_review\_uri, due\_date, due\_time, max\_points. To clear a field that supports empty values, include it in the mask and omit its body value.
>
> **attachmentId** `string` *required*
>
> Required attachment identifier in the path.
>
> **bodyCourseId** `string`
>
> Immutable course identifier in the attachment body; not a supported update-mask field.
>
> **studentViewUri** `object`
>
> Student view URI, opened with courseId, itemId, itemType, and attachmentId query parameters.
>
> **teacherViewUri** `object`
>
> Teacher view URI, opened with courseId, itemId, itemType, and attachmentId query parameters.
>
> **studentWorkReviewUri** `object`
>
> Teacher student-work review URI, also opened with submissionId. Removing it discards maxPoints.
>
> #### Output
>
> **data** `string` *required*
>
> Data from the action execution
>
> **error** `string`
>
> Error if any occurred during the execution of the action
>
> **successful** `boolean` *required*
>
> Whether or not the action execution was successful or not

> [accordion] Update Coursework Rubric
>
> **Slug:** `GOOGLE_CLASSROOM_UPDATE_COURSEWORK_RUBRIC`
>
> Update 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.
>
> #### Input Parameters
>
> **id** `string`
>
> Optional rubric identifier, sent as a query parameter.
>
> **courseId** `string` *required*
>
> Required course identifier.
>
> **criteria** `array`
>
> Replacement rubric criteria. Use either criteria or sourceSpreadsheetId, not both.
>
> **updateMask** `string`
>
> Field mask required by the provider for an update: criteria or source\_spreadsheet\_id. Criteria fully replaces the list: omitted criteria and levels are deleted, existing IDs are retained, and new items receive IDs.
>
> **courseWorkId** `string` *required*
>
> Required course work identifier.
>
> **sourceSpreadsheetId** `string`
>
> Input-only, immutable Google Sheets ID containing formatted rubric settings. Requires spreadsheets.readonly or spreadsheets scope in addition to Classroom authorization. Use instead of criteria.
>
> #### Output
>
> **data** `string` *required*
>
> Data from the action execution
>
> **error** `string`
>
> Error if any occurred during the execution of the action
>
> **successful** `boolean` *required*
>
> Whether or not the action execution was successful or not

> [accordion] Update Grading Period Settings
>
> **Slug:** `GOOGLE_CLASSROOM_UPDATE_GRADING_PERIOD_SETTINGS`
>
> Update 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.
>
> #### Input Parameters
>
> **courseId** `string` *required*
>
> Required course identifier.
>
> **updateMask** `string`
>
> Comma-separated fields to update: grading\_periods and apply\_to\_existing\_coursework. Updating grading\_periods fully replaces the list; omitted existing periods are deleted and periods without IDs are added.
>
> **gradingPeriods** `array`
>
> Grading periods in chronological order with non-overlapping inclusive date ranges and unique titles. An empty list clears periods when selected by updateMask. Preserve existing IDs to edit periods; omit IDs to add periods.
>
> **applyToExistingCoursework** `boolean`
>
> Whether grading periods apply to existing stream items. Persists across updates; defaults to false if never set.
>
> #### Output
>
> **data** `string` *required*
>
> Data from the action execution
>
> **error** `string`
>
> Error if any occurred during the execution of the action
>
> **successful** `boolean` *required*
>
> Whether or not the action execution was successful or not

> [accordion] Update Material Add-on Attachment
>
> **Slug:** `GOOGLE_CLASSROOM_UPDATE_MATERIAL_ADDON_ATTACHMENT`
>
> Update 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.
>
> #### Input Parameters
>
> **id** `string`
>
> Immutable Classroom-assigned attachment identifier in the body; not a supported update-mask field.
>
> **title** `string`
>
> Attachment title, between 1 and 1000 characters when set.
>
> **itemId** `string` *required*
>
> Required parent course work material identifier in the path.
>
> **postId** `string`
>
> Legacy parent post identifier query parameter; use itemId.
>
> **dueDate** `object`
>
> Due date in UTC; must be paired with dueTime when specified.
>
> **dueTime** `object`
>
> Due time in UTC; must be paired with dueDate when specified.
>
> **courseId** `string` *required*
>
> Required course identifier in the path.
>
> **maxPoints** `number`
>
> Non-negative integer-valued maximum grade, requiring studentWorkReviewUri. Zero disables grade passback; nonzero enables it.
>
> **bodyItemId** `string`
>
> Immutable parent post identifier in the attachment body; not a supported update-mask field.
>
> **bodyPostId** `string`
>
> Deprecated immutable post identifier in the body; use bodyItemId.
>
> **updateMask** `string` *required*
>
> Required comma-separated field mask. Teachers may update title, teacher\_view\_uri, student\_view\_uri, student\_work\_review\_uri, due\_date, due\_time, max\_points. To clear a field that supports empty values, include it in the mask and omit its body value.
>
> **attachmentId** `string` *required*
>
> Required attachment identifier in the path.
>
> **bodyCourseId** `string`
>
> Immutable course identifier in the attachment body; not a supported update-mask field.
>
> **studentViewUri** `object`
>
> Student view URI, opened with courseId, itemId, itemType, and attachmentId query parameters.
>
> **teacherViewUri** `object`
>
> Teacher view URI, opened with courseId, itemId, itemType, and attachmentId query parameters.
>
> **studentWorkReviewUri** `object`
>
> Teacher student-work review URI, also opened with submissionId. Removing it discards maxPoints.
>
> #### Output
>
> **data** `string` *required*
>
> Data from the action execution
>
> **error** `string`
>
> Error if any occurred during the execution of the action
>
> **successful** `boolean` *required*
>
> Whether or not the action execution was successful or not

> [accordion] Update Rubric
>
> **Slug:** `GOOGLE_CLASSROOM_UPDATE_RUBRIC`
>
> Update 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.
>
> #### Input Parameters
>
> **id** `string` *required*
>
> Required rubric identifier in the path.
>
> **courseId** `string` *required*
>
> Required course identifier in the path.
>
> **criteria** `array`
>
> Replacement rubric criteria. Use either criteria or sourceSpreadsheetId, not both.
>
> **updateMask** `string`
>
> Field mask required by the provider to update the rubric. Teachers may specify criteria or source\_spreadsheet\_id. Criteria fully replaces the list: omitted criteria and levels are deleted, existing IDs are retained, and new items receive IDs.
>
> **courseWorkId** `string` *required*
>
> Required course work identifier in the path.
>
> **sourceSpreadsheetId** `string`
>
> Input-only, immutable Google Sheets ID containing formatted rubric settings. Requires spreadsheets.readonly or spreadsheets scope in addition to Classroom authorization. Use instead of criteria.
>
> #### Output
>
> **data** `string` *required*
>
> Data from the action execution
>
> **error** `string`
>
> Error if any occurred during the execution of the action
>
> **successful** `boolean` *required*
>
> Whether or not the action execution was successful or not

> [accordion] Update Student Group
>
> **Slug:** `GOOGLE_CLASSROOM_UPDATE_STUDENT_GROUP`
>
> Update 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.
>
> #### Input Parameters
>
> **id** `string` *required*
>
> Required. Student group identifier in the path.
>
> **title** `string`
>
> The title of the student group.
>
> **bodyId** `string`
>
> Optional student group identifier in the StudentGroup body. Not a supported teacher updateMask field.
>
> **courseId** `string` *required*
>
> Required. Course identifier in the path.
>
> **updateMask** `string` *required*
>
> Required field mask identifying fields to update. Teachers may specify title; invalid fields cause the update to fail.
>
> **bodyCourseId** `string`
>
> Optional course identifier in the StudentGroup body. Not a supported teacher updateMask field.
>
> #### Output
>
> **data** `string` *required*
>
> Data from the action execution
>
> **error** `string`
>
> Error if any occurred during the execution of the action
>
> **successful** `boolean` *required*
>
> Whether or not the action execution was successful or not

> [accordion] Update Student Submission
>
> **Slug:** `GOOGLE_CLASSROOM_UPDATE_STUDENT_SUBMISSION`
>
> Update 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.
>
> #### Input Parameters
>
> **id** `string` *required*
>
> Student submission identifier.
>
> **courseId** `string` *required*
>
> Course identifier or alias.
>
> **draftGrade** `number`
>
> Pending grade, modifiable only by teachers; rounded to two decimal places.
>
> **updateMask** `string` *required*
>
> Required comma-separated field mask. Teachers may update draft\_grade and assigned\_grade.
>
> **courseWorkId** `string` *required*
>
> Course work identifier.
>
> **assignedGrade** `number`
>
> Assigned grade, modifiable only by teachers; rounded to two decimal places.
>
> **assignmentSubmission** `object`
>
> Assignment content; changes require ModifyAttachments rather than this method.
>
> **shortAnswerSubmission** `object`
>
> Short-answer content; not a supported teacher updateMask field.
>
> **multipleChoiceSubmission** `object`
>
> Multiple-choice content; not a supported teacher updateMask field.
>
> #### Output
>
> **data** `string` *required*
>
> Data from the action execution
>
> **error** `string`
>
> Error if any occurred during the execution of the action
>
> **successful** `boolean` *required*
>
> Whether or not the action execution was successful or not

> [accordion] Get User Profile
>
> **Slug:** `GOOGLE_CLASSROOM_USER_PROFILES_GET`
>
> Tool 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.
>
> #### Input Parameters
>
> **userId** `string` *required*
>
> Identifier of the user to retrieve. Can be the numeric user identifier, user's email address, or the literal string 'me' to indicate the requesting user.
>
> #### Output
>
> **data** `string` *required*
>
> Data from the action execution
>
> **error** `string`
>
> Error if any occurred during the execution of the action
>
> **successful** `boolean` *required*
>
> Whether or not the action execution was successful or not

> [accordion] Withdraw Guardian Invitation
>
> **Slug:** `GOOGLE_CLASSROOM_WITHDRAW_GUARDIAN_INVITATION`
>
> Withdraw 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.
>
> #### Input Parameters
>
> **state** `string`
>
> Set to COMPLETE to withdraw the invitation. Only PENDING to COMPLETE is permitted; other states or changes to other fields are rejected by the provider.
>
> **studentId** `string` *required*
>
> Student identifier or email address in the request path.
>
> **updateMask** `string` *required*
>
> Required update mask. Only state is a supported update field.
>
> **invitationId** `string` *required*
>
> Identifier of the guardian invitation to withdraw.
>
> **bodyStudentId** `string`
>
> Optional student ID in standard format in the GuardianInvitation body. Not a supported updateMask field; only state can be modified.
>
> **invitedEmailAddress** `string`
>
> Email address the invitation was sent to, visible only to domain administrators. Not a supported updateMask field; only state can be modified.
>
> #### Output
>
> **data** `string` *required*
>
> Data from the action execution
>
> **error** `string`
>
> Error if any occurred during the execution of the action
>
> **successful** `boolean` *required*
>
> Whether or not the action execution was successful or not
