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
| Property | Modifier | Type | Description | Defined in |
|---|---|---|---|---|
cause? | readonly | unknown | Optional underlying cause (chained errors). | packages/core/src/types/tool.ts:211 |
hint? | readonly | string | Optional remediation hint for human readers. | packages/core/src/types/tool.ts:213 |
kind | readonly | ToolErrorKind | - | packages/core/src/types/tool.ts:208 |
message | readonly | string | - | packages/core/src/types/tool.ts:209 |
toolCallId | readonly | string | - | packages/core/src/types/tool.ts:206 |
toolName | readonly | string | - | packages/core/src/types/tool.ts:207 |