execute

abstract suspend fun execute(context: AIAgentContextBase, input: Input): Output(source)

Executes a specific operation based on the given context and input.

Return

The result of the execution as an Output object.

Parameters

context

The execution context that provides necessary runtime information and functionality.

input

The input data required to perform the execution.