moodle_get_submission
Retrieve full submission details for one participant in an assignment: status, attempt, time, online text, attached files, grade, and teacher feedback.
Instructions
Full submission of one participant: status and attempt number, time, online text (as plain text), attached files (name, size, url for moodle_download_file), current grade and teacher feedback.
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": {
"assignmentId": "<assignmentId>",
"userId": "<userId>"
},
"name": "moodle_get_submission"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| userId | Yes | Participant id (userId from moodle_list_submissions) | |
| assignmentId | Yes | Assignment id from moodle_list_assignments (the id field, NOT the cmid from the mod/assign/view.php?id=… URL) |