Graphorin API reference v0.4.0
Graphorin API reference / @graphorin/evals / / TrajectoryToolCall
Interface: TrajectoryToolCall
Defined in: evals/src/scorers/trajectory/types.ts:20
One executed tool call as observed on the AgentEvent stream.
Stable
Properties
| Property | Modifier | Type | Description | Defined in |
|---|---|---|---|---|
args | readonly | unknown | The arguments the model emitted (the resolved tool.call.end.finalArgs). | evals/src/scorers/trajectory/types.ts:24 |
error? | readonly | { kind?: string; message?: string; } | The surfaced error, present when status === 'error'. | evals/src/scorers/trajectory/types.ts:30 |
error.kind? | readonly | string | - | evals/src/scorers/trajectory/types.ts:30 |
error.message? | readonly | string | - | evals/src/scorers/trajectory/types.ts:30 |
result? | readonly | unknown | The tool output, present when status === 'ok'. | evals/src/scorers/trajectory/types.ts:28 |
status | readonly | "ok" | "error" | 'ok' when the call returned; 'error' when the executor surfaced a ToolError. | evals/src/scorers/trajectory/types.ts:26 |
toolCallId | readonly | string | - | evals/src/scorers/trajectory/types.ts:21 |
toolName | readonly | string | - | evals/src/scorers/trajectory/types.ts:22 |