콘텐츠로 이동

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