VoiceAgentLiveDecisionItem type

A user message, function call, custom tool call, or tool result added to a Decision context.

type VoiceAgentLiveDecisionItem =
  | VoiceAgentLiveDecisionMessage
  | Extract<
      LiveDecisionInputItemParamUnion,
      { type: Exclude<LiveDecisionInputItemParamUnion["type"], "message"> }
    >