get_exercise
Read a student-visible course exercise to retrieve its problem statement, release and due dates, and file download URLs. Optionally verify the exercise belongs to a specific course before use.
Instructions
Read one student-visible course exercise. Returns the problem statement, release, start, and due dates, and a downloadUrl for each student file linked from the statement. Does not return grades, results, example solutions, or exam exercises. Optional courseId checks the exercise belongs to that course. Read-only.
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": {
"exerciseId": "<exerciseId>"
},
"name": "get_exercise"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| courseId | No | ||
| exerciseId | Yes |