run_python
Executes a workspace Python file inside an isolated Docker container with no network, limited CPU/memory, and a 10-second timeout to safely run untrusted code.
Instructions
Run a Python file from the workspace in an isolated Docker container (no network, limited CPU/memory, 10s timeout).
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": {
"path": "<path>"
},
"name": "run_python"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| path | Yes |