moodle_list_assignments
List all assignments in a Moodle course with IDs, due dates, grading, and submission details.
Instructions
Assignments of a course (Assignment activity, mod_assign): assignment id (needed by the other tools), cmid (the number from the mod/assign/view.php?id=… URL), name, allow submissions from / due / cut-off dates, grading (points with maximum or scale, grade to pass), submission types and assignment description.
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>"
},
"name": "moodle_list_assignments"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| courseId | Yes | Course id (from moodle_list_courses or the course/view.php?id=… URL) |