submit_assignment
Submit completed work to a Google Classroom assignment by providing course, assignment, and submission IDs, with optional Drive files or links to attach.
Instructions
Submit work to an assignment.
Args:
course_id: The ID of the course
assignment_id: The ID of the assignment
submission_id: The ID of your student submission
drive_file_ids: Comma-separated Google Drive file IDs to attach
link_urls: Comma-separated URLs to attach as links
Returns: Updated submission with state and timestamp
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": {
"course_id": "<course_id>",
"assignment_id": "<assignment_id>",
"submission_id": "<submission_id>"
},
"name": "submit_assignment"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| course_id | Yes | ||
| link_urls | No | ||
| assignment_id | Yes | ||
| submission_id | Yes | ||
| drive_file_ids | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||