Access Google Classroom via the Google Classroom API with OAuth authentication. Manage courses, coursework, students, teachers, submissions, and announcements.
This skill uses ClawLink for hosted connection flows and credentials so you do not need to configure Google Classroom API access yourself.
Step 1: InstallStep 2: Pair AccountStep 3: Connect Google Classroom
_App-specific connection GIF coming soon_Run the install command in OpenClawSign in and approve the deviceOpen the dashboard and connect Google Classroom
text
┌─────────────────┐ ┌──────────────┐ ┌──────────────────┐
│ OpenClaw │────▶│ ClawLink │────▶│ Google Classroom │
│ (User Chat) │ │ (OAuth) │ │ API (REST) │
└─────────────────┘ └──────────────┘ └──────────────────┘
│ │ │
│ 1. Install Plugin │ │
│ 2. Pair Device │ │
│ 3. Connect Google Classroom │
│ │ 4. Secure Token │
│ │ 5. Proxy Requests │
│ │ │
▼ ▼ ▼
┌──────────┐ ┌──────────┐ ┌──────────┐
│ SKILL │ │ Dashboard│ │Classroom │
│ File │ │ Auth │ │ Courses │
└──────────┘ └──────────┘ └──────────┘
Install the verified ClawLink plugin from ClawHub. After the user confirms, complete the full setup so ClawLink tools are visible in the next OpenClaw chat.
bash
openclaw plugins install clawhub:clawlink-plugin
openclaw config set tools.alsoAllow '["clawlink-plugin"]' --strict-json
openclaw gateway restart
Then tell the user: "OpenClaw has been restarted. Send /new as a standalone message to start a fresh chat, then ask for Google Classroom again."
bash
# List courses
clawlink_call_tool --tool "google_classroom_list_courses" --params '{}'
# Get course details
clawlink_call_tool --tool "google_classroom_get_course" --params '{"id": "course-id"}'
# List students in a course
clawlink_call_tool --tool "google_classroom_list_students" --params '{"course_id": "course-id"}'
# List coursework
clawlink_call_tool --tool "google_classroom_list_course_work" --params '{"course_id": "course-id"}'
All Google Classroom tool calls are authenticated automatically by ClawLink using the user's connected Google account.
No API key is required in chat. ClawLink stores the OAuth token securely and injects it into every Google Classroom API request on the user's behalf.
clawlink_begin_pairing if it is not configured yet.clawlink_list_integrations to verify the connection is active.bash
clawlink_list_integrations
Response: Returns all connected integrations. Look for google-classroom in the list.
bash
clawlink_list_tools --integration google-classroom
Response: Returns the live tool catalog for Google Classroom.
If Google Classroom tools are missing or the connection shows an error:
clawlink_list_integrations to verifyclawlink_list_tools --integration google-classroomToolDescriptionModegoogle_classroom_list_coursesList courses the user is enrolled in or teachesReadgoogle_classroom_get_courseGet course detailsReadgoogle_classroom_create_courseCreate a new courseWritegoogle_classroom_update_courseUpdate course name, description, or sectionWritegoogle_classroom_delete_courseDelete a courseWrite
ToolDescriptionModegoogle_classroom_list_course_workList all coursework in a courseReadgoogle_classroom_get_course_workGet specific coursework detailsReadgoogle_classroom_create_course_workCreate new assignment or questionWritegoogle_classroom_update_course_workUpdate an existing assignmentWritegoogle_classroom_delete_course_workDelete courseworkWrite
ToolDescriptionModegoogle_classroom_list_studentsList students enrolled in a courseReadgoogle_classroom_list_teachersList teachers of a courseReadgoogle_classroom_add_studentAdd a student to a courseWritegoogle_classroom_add_teacherAdd a teacher to a courseWritegoogle_classroom_remove_studentRemove a student from a courseWritegoogle_classroom_remove_teacherRemove a teacher from a courseWrite
ToolDescriptionModegoogle_classroom_list_submissionsList student submissions for courseworkReadgoogle_classroom_get_submissionGet submission details and gradeReadgoogle_classroom_patch_submissionUpdate submission grade or statusWrite
ToolDescriptionModegoogle_classroom_list_announcementsList announcements in a courseReadgoogle_classroom_create_announcementPost an announcement to a courseWritegoogle_classroom_delete_announcementDelete an announcementWrite
bash
clawlink_call_tool --tool "google_classroom_list_courses" \
--params '{}'
bash
clawlink_call_tool --tool "google_classroom_list_students" \
--params '{
"course_id": "course-id"
}'
bash
clawlink_call_tool --tool "google_classroom_create_course_work" \
--params '{
"course_id": "course-id",
"title": "Week 5 Homework",
"description": "Complete exercises 1-10 from Chapter 5",
"due_date": {
"year": 2025,
"month": 2,
"day": 15
},
"work_type": "ASSIGNMENT",
"state": "PUBLISHED"
}'
bash
clawlink_call_tool --tool "google_classroom_create_announcement" \
--params '{
"course_id": "course-id",
"text": "Reminder: The midterm exam is scheduled for next Tuesday. Please review Chapters 1-8.",
"state": "PUBLISHED"
}'
clawlink_list_integrations to confirm Google Classroom is connected.clawlink_list_tools --integration google-classroom to see the live catalog.clawlink_search_tools with a short query and integration google-classroom.text
┌─────────────────────────────────────────────────────────────┐
│ READ OPERATIONS (Safe) │
│ list → get → search → describe → call │
│ │
│ Example: List courses → Get course → List students │
└─────────────────────────────────────────────────────────────┘
│
▼
┌─────────────────────────────────────────────────────────────┐
│ WRITE OPERATIONS (Require Confirmation) │
│ list → get → describe → preview → confirm → call │
│ │
│ Example: Preview announcement → User confirms │
│ → Execute post │
└─────────────────────────────────────────────────────────────┘
clawlink_describe_tool first.whenToUse, askBefore, safeDefaults, examples, and followups to shape the call.clawlink_preview_tool first.clawlink_call_tool. Pass confirmation only after the preview matches the user's intent.abc123xyz) assigned by Google Classroom.due_date requires year, month, and day fields.Status / ErrorMeaningTool not foundThe tool name does not exist in the current catalog. Verify with clawlink_list_tools --integration google-classroom.Missing connectionGoogle Classroom is not connected. Direct the user to https://claw-link.dev/dashboard?add=google-classroom.404 Not FoundCourse, student, or coursework does not exist. Verify the IDs.403 ForbiddenThe connected account is not a teacher or admin for this course.Write rejectedUser did not confirm a write action. Always confirm before executing writes.
Check that the ClawLink plugin is installed: bash
openclaw plugins list
If the plugin is installed but tools are missing, tell the user to send /new as a standalone message to reload the catalog.
If a fresh chat does not help, run: bash
openclaw config set tools.alsoAllow '["clawlink-plugin"]' --strict-json
openclaw gateway restart
After restart, tell the user to send /new again and retry.
google-classroom.clawlink_describe_tool to verify parameter names and types before calling.clawlink_preview_tool first.Powered by ClawLink — an integration hub for OpenClaw
