codebreaker_submit
Submit a solution for automated evaluation on Codebreaker. Supports Python 3 and C++ 17, with optional second program for communication problems.
Instructions
Submit a solution for evaluation.
Submissions are automatically spaced ~2s apart. Returns the submission id; call codebreaker_wait_submission on it to get verdicts. For Communication problems pass code_b (two programs are graded together).
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_id": "<problem_id>",
"language": "<language>",
"code": "<code>"
},
"name": "codebreaker_submit"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| code | Yes | ||
| code_b | No | ||
| language | Yes | ||
| problem_id | Yes |