Skip to content

Graphorin API reference v0.1.0


Graphorin API reference / @graphorin/core / / ToolError

Interface: ToolError

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

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:211
hint?readonlystringOptional remediation hint for human readers.packages/core/src/types/tool.ts:213
kindreadonlyToolErrorKind-packages/core/src/types/tool.ts:208
messagereadonlystring-packages/core/src/types/tool.ts:209
toolCallIdreadonlystring-packages/core/src/types/tool.ts:206
toolNamereadonlystring-packages/core/src/types/tool.ts:207