ACTION_GET_LOCATION
Retrieves the last known GPS or network location, whichever is newer, for workflows needing coordinates without starting a fresh location request; location permission is required.
Instructions
读取系统最后一次已知位置(GPS/网络取较新者)(需定位权限)。输出:location_success, location_error, latitude, longitude, location_accuracy, location_time, location_summary。不主动定位:从没定位过会失败,结果可能是旧位置(看 location_time 毫秒时间戳)。location_accuracy 单位米。。字符串参数支持 ${var} 插值;结果以变量快照 JSON 返回。
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| require | No | 执行后要求为 true 的变量名(如 click_success),不满足按出错处理 | |
| on_error | No | 节点出错时:skip=跳过继续(默认),stop=停止整个工作流 | |
| output_var | No | "纬度,经度" 字符串存到的变量名(默认 location_summary) | |
| node_timeout_ms | No | 单节点超时毫秒,0=不限;默认 30 分钟 |