ContextualAction

Represents a functional interface that defines a contextual action for processing an input and producing an output within a specific AI agent graph context.

This functional interface is designed

Functions

Link copied to clipboard
abstract fun execute(input: Input, ctx: AIAgentGraphContextBase): Output

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