VoiceAgentCollectSmsStartArguments interface

Model-call SMS collection arguments, validated before receiver setup. The model supplies the sender, not the collected SMS.

Properties

from_phone_number

The expected SMS sender in canonical E.164 form, explicitly selected at start without Caller ID fallback. This is routing, not authenticated identity.

output_variable_name

Preferred bare name for the output variable, required for secret: true and forbidden otherwise.

secret

Required; no default. True returns a private reference, false returns the value. Privacy cannot be downgraded after collection starts.

timeout_seconds

Total deadline in seconds (1-300), including receiver setup. Overrides the Agent timeout; if both are omitted, defaults to 60. Duplicate calls do not reset it.

Property Details

from_phone_number

The expected SMS sender in canonical E.164 form, explicitly selected at start without Caller ID fallback. This is routing, not authenticated identity.

from_phone_number: string

Property Value

string

output_variable_name

Preferred bare name for the output variable, required for secret: true and forbidden otherwise.

output_variable_name?: string

Property Value

string

secret

Required; no default. True returns a private reference, false returns the value. Privacy cannot be downgraded after collection starts.

secret: boolean

Property Value

boolean

timeout_seconds

Total deadline in seconds (1-300), including receiver setup. Overrides the Agent timeout; if both are omitted, defaults to 60. Duplicate calls do not reset it.

timeout_seconds?: number

Property Value

number