VoiceAgentSystemTool interface
一个服务托管控制,在没有客户代码或外部认证的情况下,对主动语音会话进行操作。
属性
| description | 系统工具的可选描述。 |
| name | 判别器可能的值:end_conversation、language_detection、digit_recognition、collect_sms、collect_dtmf、转移、send_dtmf、send_sms |
| timeout_seconds | 执行超时,时间从 1 秒到 300 秒。 如果省略,服务默认为 60 秒。 |
| type | 工具的类型。 始终为 |
属性详细信息
description
系统工具的可选描述。
description?: string
属性值
string
name
判别器可能的值:end_conversation、language_detection、digit_recognition、collect_sms、collect_dtmf、转移、send_dtmf、send_sms
name: VoiceAgentSystemToolName
属性值
timeout_seconds
执行超时,时间从 1 秒到 300 秒。 如果省略,服务默认为 60 秒。
timeout_seconds?: number
属性值
number
type
工具的类型。 始终为 system。
type: "system"
属性值
"system"