Check a lab
lab_checkVerify a lab's statement, solution, or practice by running its check in the running service; returns pass/fail and output explaining failures. Confirm before running.
Instructions
Run the lab's check (its lab.json) in its running service: passed when it exits 0, with its output to explain what failed. For a teacher, whether a statement or a solution works; for a student, whether their practice does. Runs inside the lab: confirm with the person first.
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": {
"lab": "<lab>"
},
"name": "lab_check"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| lab | Yes | The lab's name, as list_labs gives it |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| output | Yes | ||
| passed | Yes | ||
| exitCode | Yes | ||
| truncated | Yes |