execute

abstract fun execute(input: Input, ctx: AIAgentGraphContextBase): Output(source)

Executes an action within the given context using the provided input and returns the corresponding output.

Return

The output produced as a result of executing the action.

Parameters

input

The input data required for executing the action.

ctx

The context in which the action is performed, providing necessary resources, configurations, and state management.