Protected InternalExecute 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
Private addPrivate Helper to add output parameter to action results
Private getPrivate Helper to get numeric parameter from action params
Private getPrivate Helper to get string parameter from action params
Optional defaultValue: string
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: