Skip to content

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

PropertyModifierTypeDescriptionDefined in
argsreadonlyunknownThe 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?readonlystring-evals/src/scorers/trajectory/types.ts:30
error.message?readonlystring-evals/src/scorers/trajectory/types.ts:30
result?readonlyunknownThe tool output, present when status === 'ok'.evals/src/scorers/trajectory/types.ts:28
statusreadonly"ok" | "error"'ok' when the call returned; 'error' when the executor surfaced a ToolError.evals/src/scorers/trajectory/types.ts:26
toolCallIdreadonlystring-evals/src/scorers/trajectory/types.ts:21
toolNamereadonlystring-evals/src/scorers/trajectory/types.ts:22