setStructuredOutputImpl

InternalAgentsApi method. Sets up structured output for an AI agent subgraph.

Return

The input message after processing.

Parameters

T

The type of the structured output.

TInput

The type of the input message.

config

The configuration used to update the agent's prompt in the context.

message

The input message to be processed and returned.