run_javascript_code
Execute JavaScript code in a secure sandbox environment, capturing output and errors for testing and development. Supports integration with @google/genai libraries for advanced functionality.
Instructions
Execute JavaScript code in the sandbox environment and captures the standard output and error.
Input Schema
Name | Required | Description | Default |
---|---|---|---|
code | Yes | The JavaScript code to execute, included libraries are @google/genai |
Input Schema (JSON Schema)
{
"properties": {
"code": {
"description": "The JavaScript code to execute, included libraries are @google/genai",
"title": "Code",
"type": "string"
}
},
"required": [
"code"
],
"title": "run_javascript_codeArguments",
"type": "object"
}