Assignment details
get_assignment_detailsRetrieves an assignment's due date, instructions, and attached files for a Moodle course, optionally filtered by part of the assignment name.
Instructions
Answers 'what does assignment X require?' Shows the due date, the instructions and the attached files of the assignments in one course, up to 5 at a time. Each attached file shows its name and a link with your key removed, ready for get_file. Input: course_id from get_my_courses, and an optional assignment_name, part of an assignment name, to pick one. Ask: 'What does the Lab 3 assignment in Networking Basics require?'
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>"
},
"name": "get_assignment_details"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| course_id | Yes | Moodle course ID. Use get_my_courses to find it. | |
| assignment_name | No | Part of the assignment name. Leave out to read the first assignments by due date. |