run-js-code
Execute JavaScript code securely in a sandbox environment, with options for NPM commands, JSON parsing, and configurable timeouts. Ideal for testing and automation tasks on the Dumpling AI MCP Server.
Instructions
Execute JavaScript code in a sandbox.
Input Schema
Name | Required | Description | Default |
---|---|---|---|
code | Yes | JavaScript code | |
commands | No | NPM install commands | |
memory | No | Memory allocation in MB | |
parseJson | No | Parse output as JSON | |
timeout | No | Execution timeout in ms |