ACTION_NETWORK_STATUS
Check network connectivity, determine connection type (Wi-Fi, cellular, Ethernet), and optionally retrieve IP addresses to support workflow branching and error handling.
Instructions
查询是否联网、网络类型,可选查 IP。输出:network_connected, network_type, wifi_ip, mobile_ip, network_success, network_error。network_type:wifi / cellular / ethernet / other / none。mobile_ip 实为第一个非回环 IPv4 地址,连着 WiFi 时可能就是 WiFi 地址。。字符串参数支持 ${var} 插值;结果以变量快照 JSON 返回。
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| action | No | status=只查连接与类型;ip / all=另外写 wifi_ip、mobile_ip(默认 status) | |
| require | No | 执行后要求为 true 的变量名(如 click_success),不满足按出错处理 | |
| on_error | No | 节点出错时:skip=跳过继续(默认),stop=停止整个工作流 | |
| node_timeout_ms | No | 单节点超时毫秒,0=不限;默认 30 分钟 |