build

Builds and returns an instance of AIAgentNode configured with the specified parameters. The node will execute the provided ContextualAction with the input data when invoked.

Return

A fully configured instance of AIAgentNode parameterized with Input and Output types.