Skip to content

Graphorin API reference v0.1.0


Graphorin API reference / @graphorin/agent / run-state / completedToolCallsFromState

Function: completedToolCallsFromState()

ts
function completedToolCallsFromState(state): readonly CompletedToolCall<unknown>[];

Defined in: packages/agent/src/run-state/index.ts:394

The "tools used" surface of a completed run. Cheap to compute from RunState.steps; surfaced as a stand-alone helper for Phase 17 example apps and operator-facing dashboards.

Parameters

ParameterType
stateRunState

Returns

readonly CompletedToolCall&lt;unknown&gt;[]

Stable