LambdaAction

Defines actions to be executed as Lambda functions.

Description

The LambdaAction class is used to define actions to be executed as Lambda functions.

Fields

Cmd

Command to call the action

Cmd: string

Schema

Schema to validate action parameters

Schema: *Schema

Action

Action to be executed

Action: func(ctx context.Context, params map[string]any) (any, error)