submit_code
Submit the final, verified solver program once after Python verification. It syntax-checks the code, then stores and links it as a resource.
Instructions
Submit the final, verified, self-contained solver program.
Call ONCE at the end, only after executing the program via python_exec and passing your verification. The code is syntax-checked; on success it is stored and linked as a resource (the server keeps the last 50).
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": {
"code": "<code>"
},
"name": "submit_code"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| code | Yes |