跳转到内容

ToolErrorFormatter

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

type ToolErrorFormatter<TContext> = (args) => Promise<string | undefined> | string | undefined;
Type Parameter Default type

TContext

unknown

Parameter Type

args

ToolErrorFormatterArgs<TContext>

Promise<string | undefined> | string | undefined