learnus_get_assignment
Retrieve one LearnUs assignment’s instructions, due date, attachments, and submission/grading status by activity cmid. Use for a known assignment’s details or status, not to search or submit.
Instructions
Gets one assignment’s instructions, due date, attachments and submission/grading status by canonical activity cmid. Use when the user asks for details or status of a specific known assignment. Do not use it to search for assignments across courses or to submit/edit an assignment.
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": "learnus_get_assignment"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| cmid | Yes | Exact Moodle assignment activity ID (cmid) returned by learnus_list_activities, learnus_get_course or an overview Tool. |