Import essays from Google Classroom
import_essays_from_google_classroomAdds selected Google Classroom turn-in handles to a grading session. Reads authorized Google Docs directly; optional teacher-provided text supports other files or missing Google access. Names come from the Classroom roster. Existing session submissions are skipped. Records the source Classroom assignment for subsequent approved-grade export. Returns counts only.
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"sessionId": "<sessionId>",
"courseId": "<courseId>",
"courseWorkId": "<courseWorkId>",
"turnIns": "<turnIns>"
},
"name": "import_essays_from_google_classroom"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| turnIns | Yes | ||
| courseId | Yes | Id from list_google_classroom_work. | |
| sessionId | Yes | Grading session id from list_grading_sessions or create_grading_session. | |
| courseWorkId | Yes | Id from list_google_classroom_work. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| text | No | Readable tool result text for clients that consume structured output. | |
| status | Yes | Operation status: completed, pending, partial, failed, unavailable, or a domain-specific outcome. |