ACTION_WAIT_CALL_END
Block the workflow until the active phone call ends, polling call state every second and returning call_ended or call_error; returns call_ended=true if no call starts within 3 seconds.
Instructions
阻塞等待当前通话挂断(每秒轮询通话状态)(需 READ_PHONE_STATE 权限)。输出:call_ended, call_error。进入时没有通话且 3 秒内也没出现通话,直接返回 call_ended=true(视为已结束)。。字符串参数支持 ${var} 插值;结果以变量快照 JSON 返回。
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| require | No | 执行后要求为 true 的变量名(如 click_success),不满足按出错处理 | |
| on_error | No | 节点出错时:skip=跳过继续(默认),stop=停止整个工作流 | |
| timeout_ms | No | 最长等待毫秒,超时 call_ended=false(默认 600000) | |
| node_timeout_ms | No | 单节点超时毫秒,0=不限;默认 30 分钟 |