moodle_get_assignment
Fetch one assignment's instructions, attachments, due date, and submission state by course-module ID.
Instructions
Get one assignment: instructions, attachments, due date and submission state.
Args:
cmid: course-module id (the id= value in /mod/assign/view.php?id=...).
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": {
"cmid": "<cmid>"
},
"name": "moodle_get_assignment"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| cmid | Yes |