Skip to content

ToolOutputErrorContext

type ToolOutputErrorContext = object;

Context from a function tool output that failed runtime validation.

details?: ToolInvocationErrorContext["details"];

The details of the tool call made by the model.


output?: unknown;

The invalid value returned by the tool or one of its fallback paths.


runContext?: RunContext<any>;

The run context at the time of the error.