execute

fun execute(actionId: String, params: Map<String, Any?>): Action?

Executes a registered action with the given parameters.

Validates that all required parameters are present and that numeric parameters fall within their specified min/max bounds.

Return

the resulting Action, or null if the action is not found

Parameters

actionId

the unique identifier of the action to execute

params

a map of parameter names to values

Throws

if required parameters are missing or validation fails