跳转到内容

ToolOutputErrorContext

此内容尚不支持你的语言。

type ToolOutputErrorContext = object;

Context from a function tool output that failed runtime validation.

optional details?: ToolInvocationErrorContext["details"];

The details of the tool call made by the model.


optional output?: unknown;

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


optional runContext?: RunContext<any>;

The run context at the time of the error.