get_exercise
Show a learner the current or specified exercise, including statement, files to edit, visible tests, and hint—or quiz questions and choices without answers.
Instructions
Show an exercise to the learner: statement, the file(s) to edit, visible tests and hint; for a quiz, its questions and choices, never the key.
Tool call template
This tool declares no required parameters. Add optional parameters from the input schema as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {},
"name": "get_exercise"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| slug | No | Exercise id. Defaults to the current exercise. |