VocalDocscontracts 1.65.0

PolicyContextInput

A synthetic Call context for a dry run (orchestration-layer.md 3.4 and 3.12): any of the roots of the hook snapshot. Fields the body omits arrive as null, and a root the hook does not carry is refused with policy_field_unavailable_at_hook. Synthetic data only: the trace that echoes it is returned and never stored.

An object with 19 fields.

Fields

FieldTypeRequiredDescription
agentPolicyContextAgentInput or nullno
callPolicyContextCallInput or nullno
callerPolicyContextCallerInput or nullno
contactPolicyContextContactInput or nullno
countersPolicyContextCountersInput or nullno
decisionobject or nullno
entitiesEntityFlagsInput or nullno
intentsobject or nullno
keypadPolicyContextKeypadInput or nullno
modelPolicyContextModelInput or nullno
outcomePolicyContextOutcomeInput or nullno
retrievalobject or nullno
slotsobject or nullno
statePolicyContextStateInput or nullno
timePolicyContextTimeInput or nullno
toolPolicyContextToolInput or nullno
transcriptPolicyContextTranscriptInput or nullno
utterancePolicyContextUtteranceInput or nullno
variablesobject or nullno