Judge Problem
judge_problemRun code against a stored problem's tests and return a verdict, score, summary, submission ID, and signed receipt; hidden tests reveal only their verdict.
Instructions
Judge code against one of your stored problems.
Runs the problem's tests and returns a verdict, a score, a summary, a submission id, a signed receipt, and the problem id and version. Hidden tests return only their verdict, never their input or expected output. It never invents results: if the problem is missing or the run fails, you get an error.
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": {
"problem": "<problem>",
"compiler": "<compiler>",
"code": "<code>"
},
"name": "judge_problem"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| code | Yes | The source code to judge | |
| mode | No | 'all' runs every test (default); 'samples' runs only the sample tests. | all |
| problem | Yes | The id or slug of one of your stored problems | |
| compiler | Yes | Compiler identifier (e.g. 'python-3.14', 'gcc-15'). Use list_compilers to see all options. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||