get-submission-documents
Retrieve a student's submission documents for a course assignment, including attachment metadata and optional file downloads.
Instructions
Retrieve a student's submission with attachment metadata and optional file downloads. Returns submission details, file information, and optionally the actual file content.
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": {
"courseId": "<courseId>",
"assignmentId": "<assignmentId>",
"userId": "<userId>"
},
"name": "get-submission-documents"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| userId | Yes | The ID of the student/user | |
| courseId | Yes | The ID of the course | |
| anonymous | No | Whether to anonymize student information (default: true for privacy) | |
| assignmentId | Yes | The ID of the assignment | |
| downloadFiles | No | Whether to download the actual file content (default: false, only returns metadata) |