Submit Code
submit_codeSubmit Python code for sandboxed execution and receive a persistent receipt to track and retrieve results asynchronously.
Instructions
Submit execution and return a persistent receipt, not an MCP Tasks promise.
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>",
"description": "<description>"
},
"name": "submit_code"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| code | Yes | Restricted Python program assigning result. | |
| inputs | No | Structured execution inputs. | |
| description | Yes | Generic reusable operation description. | |
| input_schema | No | Optional input validation schema. | |
| idempotency_key | No | Optional owner-scoped deduplication key. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||