gui_act
Automate GUI actions on browser, Android, or macOS: click, type, press, swipe, open URLs. Use a confirm token to authorize high-risk operations.
Instructions
执行 GUI 动作。高风险动作(点击、输入、提交等)需要确认令牌。
Args: target: 目标 (browser|android|macos) session_id: 会话 ID action: 动作 (click|type|press|swipe|back|home|wait|open_url) selector: CSS selector(浏览器用) x: X 坐标 y: Y 坐标 text: 输入文本 url: URL(open_url 动作) reason: 执行原因 confirm_token: 确认令牌(高风险动作必须)
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| x | No | ||
| y | No | ||
| url | No | ||
| text | No | ||
| action | No | ||
| reason | No | ||
| target | No | browser | |
| selector | No | ||
| session_id | No | default | |
| confirm_token | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |