Google Classroom

Learn how to use Google Classroom with Composio

Overview

Enum

GOOGLE_CLASSROOM

Description

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

Authentication Details

client_id
stringRequired
client_secret
stringRequired
oauth_redirect_uri
string
scopes
string
access_token
string
token
stringRequired

Actions

Tool to list courseworkmaterials in a course. use after confirming a valid courseid; supports pagination and ordering.

Action Parameters

courseId
stringRequired
orderBy
string
pageSize
integer
pageToken
string

Action Response

data
object
error
string
successful
boolean
Tool to create an announcement in a course. use after confirming the course id is valid.

Action Parameters

assigneeMode
string
courseId
stringRequired
individualStudentsOptions
object
materials
array
scheduledTime
string
state
string
text
string

Action Response

data
object
error
string
successful
boolean
Tool to delete an announcement. use after confirming the announcement id.

Action Parameters

courseId
stringRequired
id
stringRequired

Action Response

data
object
error
string
successful
boolean
Tool to get an announcement. use when you need to fetch an announcement by course and announcement id.

Action Parameters

courseId
stringRequired
id
stringRequired

Action Response

data
object
error
string
successful
boolean
Tool to list announcements in a course. use after you have the course id to page through announcements.

Action Parameters

courseId
stringRequired
orderBy
string
pageSize
integer
pageToken
string

Action Response

data
object
error
string
successful
boolean
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.

Action Parameters

assigneeMode
string
courseId
stringRequired
id
stringRequired
individualStudentsOptions
object
materials
array
scheduledTime
string
state
string
text
string
updateMask
stringRequired

Action Response

data
object
error
string
successful
boolean
Tool to create a new course. use when a teacher needs to establish a classroom course before enrollment.

Action Parameters

courseState
string
description
string
descriptionHeading
string
name
stringRequired
ownerId
stringRequired
room
string
section
string

Action Response

data
object
error
string
successful
boolean
Tool to delete a course. use when you need to remove a course after confirming the course id.

Action Parameters

id
stringRequired

Action Response

data
object
error
string
successful
boolean
Tool to get details for a specific course. use when you need full course information by id.

Action Parameters

id
stringRequired

Action Response

data
object
error
string
successful
boolean
Tool to list all courses accessible to the authenticated user. use when you need a paginated list of courses.

Action Parameters

courseStates
array
pageSize
integer
pageToken
string
studentId
string
teacherId
string

Action Response

data
object
error
string
successful
boolean
Tool to update one or more fields of a classroom course. use after retrieving course details and confirming fields to update.

Action Parameters

courseState
string
description
string
descriptionHeading
string
id
stringRequired
name
string
ownerId
string
room
string
section
string
updateMask
stringRequired

Action Response

data
object
error
string
successful
boolean
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.

Action Parameters

courseId
stringRequired
pageSize
integer
pageToken
string
studentId
stringRequired

Action Response

data
object
error
string
successful
boolean
Tool to list students in a course. use after you have the course id to page through enrolled students.

Action Parameters

courseId
stringRequired
pageSize
integer
pageToken
string

Action Response

data
object
error
string
successful
boolean
Tool to get teacher enrollment. use when you need to retrieve a specific teacher in a course by courseid and userid.

Action Parameters

courseId
stringRequired
fields
string
quotaUser
string
userId
stringRequired

Action Response

data
object
error
string
successful
boolean
Tool to list teachers in a course. use after you have the course id to page through enrolled teachers.

Action Parameters

courseId
stringRequired
pageSize
integer
pageToken
string

Action Response

data
object
error
string
successful
boolean
Tool to create a course topic. use when you need to organize course content into named sections.

Action Parameters

courseId
stringRequired
name
stringRequired

Action Response

data
object
error
string
successful
boolean
Tool to delete a course topic. use when you need to remove a topic from a course after confirming the course and topic ids.

Action Parameters

courseId
stringRequired
id
stringRequired

Action Response

data
object
error
string
successful
boolean
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.

Action Parameters

courseId
stringRequired
id
stringRequired

Action Response

data
object
error
string
successful
boolean
Tool to list topics in a course. use when you have confirmed the courseid and need to retrieve its topics.

Action Parameters

courseId
stringRequired
pageSize
integer
pageToken
string

Action Response

data
object
error
string
successful
boolean
Tool to update fields of a course topic. use when you need to rename a topic after confirming its current details.

Action Parameters

courseId
stringRequired
id
stringRequired
name
string
updateMask
string

Action Response

data
object
error
string
successful
boolean
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.

Action Parameters

assignment
object
courseId
stringRequired
description
string
dueDate
object
dueTime
object
materials
array
maxPoints
number
multipleChoiceQuestion
object
scheduledTime
string
shortAnswerQuestion
object
state
stringDefaults to PUBLISHED
submissionModificationMode
string
title
stringRequired
topicId
string
workType
stringRequired

Action Response

data
object
error
string
successful
boolean
Tool to delete a specific coursework. use when you need to remove a coursework item from a course after confirming the ids.

Action Parameters

courseId
stringRequired
id
stringRequired

Action Response

data
object
error
string
successful
boolean
Tool to get details of a specific coursework. use when detailed information about a particular assignment is needed.

Action Parameters

courseId
stringRequired
id
stringRequired

Action Response

data
object
error
string
successful
boolean
Tool to list coursework in a course. use after verifying courseid.

Action Parameters

courseId
stringRequired
courseWorkStates
array
orderBy
string
pageSize
integer
pageToken
string
previewVersion
string

Action Response

data
object
error
string
successful
boolean
Tool to create course work material. use when adding resources or notes to a course.

Action Parameters

assigneeMode
string
associatedWithDeveloper
boolean
courseId
stringRequired
description
string
individualStudentsOptions
object
materials
array
scheduledTime
string
state
stringRequired
title
string
topicId
string

Action Response

data
object
error
string
successful
boolean
Tool to get a coursework material. use when you need to retrieve details of a specific coursework material by course and material id.

Action Parameters

courseId
stringRequired
id
stringRequired

Action Response

data
object
error
string
successful
boolean
Tool to list course work materials in a course. use when you need to retrieve and paginate materials for a given courseid.

Action Parameters

courseId
stringRequired
orderBy
string
pageSize
integer
pageToken
string

Action Response

data
object
error
string
successful
boolean
Tool to update fields of a coursework. use when you need to modify specific details of an existing coursework after confirming which fields to update.

Action Parameters

courseId
stringRequired
description
string
dueDate
object
dueTime
object
id
stringRequired
maxPoints
number
scheduledTime
string
title
string
topicId
string
updateMask
stringRequired
workType
string

Action Response

data
object
error
string
successful
boolean
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.

Action Parameters

courseId
stringRequired
courseWorkId
stringRequired
late
string
pageSize
integer
pageToken
string
states
array
userId
string

Action Response

data
object
error
string
successful
boolean
Tool to reclaim a student submission for editing. use after a student requests to edit their turned-in submission, resetting its state to created.

Action Parameters

courseId
stringRequired
courseWorkId
stringRequired
id
stringRequired

Action Response

data
object
error
string
successful
boolean
Tool to create an invitation for a user to a course. use after confirming the course id is valid.

Action Parameters

courseId
stringRequired
role
stringRequired
userId
stringRequired

Action Response

data
object
error
string
successful
boolean