跳转到内容

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.