computer.state
Capture the current window and focus state, then optionally retrieve a snapshot of actionable UI nodes with temporary references to enable immediate automation.
Instructions
获取窗口、焦点和运行能力;includeUi=true 时一次返回可执行 UI 节点快照和短期 ref。
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| scope | No | 快照范围;默认 focused。 | |
| window | No | 只返回指定窗口的 UI 快照。 | |
| predict | No | 是否允许使用预测快照;动作后仍必须验证。 | |
| maxNodes | No | 每个窗口最多返回的节点数。 | |
| includeUi | No | 返回受限的 action-ready UI 节点快照。 | |
| actionSignature | No | 可选的标准化动作签名,用于复用已验证的预测快照。 | |
| includeTransitions | No | 是否返回程序自动记录的最近 UI 转换。 |