VocalDocscontracts 1.65.0

HookPoint

Where a Policy runs (orchestration-layer.md section 3.3), in lifecycle order: on_call_start once after admission; on_state_enter on each statechart state entered, the initial one included; on_transcript on each final caller transcript; before_model before every model request; on_tool_call before each Tool invocation executes; on_tool_result after a Tool returns and before the model sees the result; after_model on each model output segment; before_speak on every text chunk before speech synthesis; on_state_exit on each state left; on_call_end once after the Call ends, before finalize.

An enumeration of 10 values.

Values

  • on_call_start
  • on_state_enter
  • on_transcript
  • before_model
  • on_tool_call
  • on_tool_result
  • after_model
  • before_speak
  • on_state_exit
  • on_call_end

Used by

The operations whose parameters, request body or responses name this shape directly.