ACTION_SET_ALARM
Opens the system clock to create a new alarm with a specified hour, minute, and optional label. Use it when a workflow needs to schedule an alarm through the device’s clock app.
Instructions
设闹钟:打开系统时钟的新建闹钟(带时间和标签)。输出:alarm_success, alarm_error。通过 Intent 调起系统时钟应用(不是静默创建),后台启动受限时可能没弹出来。。字符串参数支持 ${var} 插值;结果以变量快照 JSON 返回。
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| hour | Yes | 小时 0-23 | |
| label | No | 可选:闹钟标签,支持 ${var} | |
| minute | Yes | 分钟 0-59 | |
| require | No | 执行后要求为 true 的变量名(如 click_success),不满足按出错处理 | |
| on_error | No | 节点出错时:skip=跳过继续(默认),stop=停止整个工作流 | |
| node_timeout_ms | No | 单节点超时毫秒,0=不限;默认 30 分钟 |