ToolErrorFormatterArgs
このコンテンツはまだ日本語訳がありません。
type ToolErrorFormatterArgs<TContext, TKind> = object;Type Parameters
Section titled “Type Parameters”| Type Parameter | Default type |
|---|---|
|
|
|
|
|
|
Properties
Section titled “Properties”callId
Section titled “callId”callId: string;The unique tool call identifier.
defaultMessage
Section titled “defaultMessage”defaultMessage: string;The SDK’s default message for this error kind.
kind: TKind;The category of tool error being formatted.
runContext
Section titled “runContext”runContext: RunContext<TContext>;The active run context for the current execution.
toolName
Section titled “toolName”toolName: string;The name of the tool that produced the error.
toolType
Section titled “toolType”toolType: "function" | "computer" | "shell" | "apply_patch";The tool runtime that produced the error.