ProtectedInternalExecute the action by delegating to CodeExecutionService
Action parameters including code, language, inputData
ActionResultSimple with execution results or errors
Executes the action with the provided parameters.
The action execution parameters including context
Promise resolving to the action result
Action for executing JavaScript code in a sandboxed environment
This is a THIN WRAPPER - all core logic lives in CodeExecutionService. The action's job is simply to:
Security is enforced entirely by CodeExecutionService.
Example: Agent usage: