sandbox_initialize
Initialize an isolated Docker container with Node.js to create a secure execution environment for running JavaScript code and NPM packages.
Instructions
Start a new isolated Docker container running Node.js. Used to set up a sandbox session for multiple commands and scripts.
Input Schema
Name | Required | Description | Default |
---|---|---|---|
image | No | ||
port | No | If set, maps this container port to the host |
Input Schema (JSON Schema)
{
"$schema": "http://json-schema.org/draft-07/schema#",
"additionalProperties": false,
"properties": {
"image": {
"type": "string"
},
"port": {
"description": "If set, maps this container port to the host",
"type": "number"
}
},
"type": "object"
}