algo_run_docker
Run source code in isolated, ephemeral Docker containers with no network access to safely test algorithms in Python, JavaScript, or C++.
Instructions
Executes code inside a zero-trust ephemeral Docker container (python:alpine, node:alpine, gcc:alpine) with no network access
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": "algo_run_docker"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| code | Yes | Source code to execute | |
| stdin | No | Standard input provided to the container | |
| language | No | Programming language | |
| timeoutMs | No | Timeout in ms (default: 5000) |