VoiceAgentHandoffState interface

The effective topology and runtime state of a voice-agent handoff graph.

Properties

active_node_id

The currently committed node identifier or $entrypoint.

attempt_count

The number of unique reserved handoff attempts.

available_edge_ids

The edge identifiers currently available from the active node.

edges

The compiled handoff edges.

nodes

The compiled handoff nodes, including the implicit or explicit $entrypoint.

node_generation

The monotonically increasing generation of the committed active-node configuration.

pipeline_family

The immutable execution pipeline family.

transfer_count

The number of successfully completed handoffs.

transfer_tool

The generated handoff function visible to the active model, or null when no route is available.

Property Details

active_node_id

The currently committed node identifier or $entrypoint.

active_node_id: string

Property Value

string

attempt_count

The number of unique reserved handoff attempts.

attempt_count: number

Property Value

number

available_edge_ids

The edge identifiers currently available from the active node.

available_edge_ids: string[]

Property Value

string[]

edges

The compiled handoff edges.

edges: VoiceAgentHandoffEdgeState[]

Property Value

nodes

The compiled handoff nodes, including the implicit or explicit $entrypoint.

nodes: VoiceAgentHandoffNodeState[]

Property Value

node_generation

The monotonically increasing generation of the committed active-node configuration.

node_generation: number

Property Value

number

pipeline_family

The immutable execution pipeline family.

pipeline_family: VoiceAgentHandoffPipelineFamily

Property Value

transfer_count

The number of successfully completed handoffs.

transfer_count: number

Property Value

number

transfer_tool

The generated handoff function visible to the active model, or null when no route is available.

transfer_tool: VoiceAgentFunctionTool | null

Property Value