Skip to content

OutputGuardrailFunctionArgs

Arguments for an output guardrail function.

Type Parameter Default type

TContext

UnknownContext

TOutput extends AgentOutputType

TextOutput

agent: Agent<any, any>;

agentOutput: ResolvedAgentOutput<TOutput>;

context: RunContext<TContext>;