execute_javascript
Execute JavaScript code in a secure WebAssembly sandbox to run untrusted code safely and return console logs with evaluated expressions.
Instructions
Execute JavaScript code in a secure isolated WebAssembly sandbox. Both standard output (console logs) and the last evaluated expression are returned.
Input Schema
TableJSON Schema
| Name | Required | Description | Default |
|---|---|---|---|
| code | Yes | JavaScript code to execute. Standard output and the final expression are returned. |