Skip to content

Graphorin API reference v0.4.0


Graphorin API reference / @graphorin/core / / ToolError

Interface: ToolError

Defined in: packages/core/src/types/tool.ts:236

The unsuccessful outcome of a tool invocation. The model sees a textual representation of message; the runtime sees the typed shape.

Stable

Properties

PropertyModifierTypeDescriptionDefined in
cause?readonlyunknownOptional underlying cause (chained errors).packages/core/src/types/tool.ts:242
hint?readonlystringOptional remediation hint for human readers.packages/core/src/types/tool.ts:244
kindreadonlyToolErrorKind-packages/core/src/types/tool.ts:239
messagereadonlystring-packages/core/src/types/tool.ts:240
toolCallIdreadonlystring-packages/core/src/types/tool.ts:237
toolNamereadonlystring-packages/core/src/types/tool.ts:238