ACTION_BLUETOOTH
Turns Bluetooth on or off, toggles it, or checks its status; on/off/toggle require Shizuku or root on Android 13+, while status queries work without elevated access.
Instructions
蓝牙开关、切换、查询状态(开关需 Shizuku 或 root(Android 13+ 系统 API 对普通应用无效);status 不需要)。输出:bluetooth_success, bluetooth_enabled。字符串参数支持 ${var} 插值;结果以变量快照 JSON 返回。
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| action | Yes | on/off/toggle 开关;status 查询(只有 status 写 bluetooth_enabled) | |
| require | No | 执行后要求为 true 的变量名(如 click_success),不满足按出错处理 | |
| on_error | No | 节点出错时:skip=跳过继续(默认),stop=停止整个工作流 | |
| node_timeout_ms | No | 单节点超时毫秒,0=不限;默认 30 分钟 |