ACTION_CLIPBOARD
Read or write text in the Android system clipboard during automation workflows, storing results in variables and returning success or error details.
Instructions
读取或写入系统剪贴板。输出:clipboard_content, clipboard_success, clipboard_error。Android 10+ 应用在后台时系统禁止读剪贴板,get 可能得到空串而 clipboard_success 仍为 true。。字符串参数支持 ${var} 插值;结果以变量快照 JSON 返回。
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| text | No | 要写入的文字(action=set 时必填,支持 ${var}) | |
| action | Yes | get=读取,set=写入 | |
| require | No | 执行后要求为 true 的变量名(如 click_success),不满足按出错处理 | |
| on_error | No | 节点出错时:skip=跳过继续(默认),stop=停止整个工作流 | |
| output_var | No | 读取结果存到的变量名(默认 clipboard_content) | |
| node_timeout_ms | No | 单节点超时毫秒,0=不限;默认 30 分钟 |