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
| Property | Modifier | Type | Description | Defined in |
|---|---|---|---|---|
cause? | readonly | unknown | Optional underlying cause (chained errors). | packages/core/src/types/tool.ts:242 |
hint? | readonly | string | Optional remediation hint for human readers. | packages/core/src/types/tool.ts:244 |
kind | readonly | ToolErrorKind | - | packages/core/src/types/tool.ts:239 |
message | readonly | string | - | packages/core/src/types/tool.ts:240 |
toolCallId | readonly | string | - | packages/core/src/types/tool.ts:237 |
toolName | readonly | string | - | packages/core/src/types/tool.ts:238 |