StepDestination

interface StepDestination : CommonDestination

Properties

Link copied to clipboard
abstract var description: String

This is the description of the destination, used by the AI to choose when and how to transfer the call.

Link copied to clipboard
abstract var message: String

This is the message to say before transferring the call to the destination.
If this is not provided and transfer tool messages is not provided, default is "Transferring the call now".
If set to "", nothing is spoken. This is useful when you want to silently transfer. This is especially useful when transferring between assistants in a squad. In this scenario, you likely also want to set assistant.firstMessageMode=assistant-speaks-first-with-model-generated-message for the destination assistant.

Link copied to clipboard
abstract var stepName: String

This is the step to transfer to.