sequence
Run pointer, keyboard, and UI actions in one ordered call, reducing multiple round-trips into a single execution. Optionally stop if the desktop changes unexpectedly.
Instructions
Run an ordered list of actions in ONE call, so a click/type/enter
micro-sequence costs one round-trip instead of several. Each step is
{"op": "pointer"|"keyboard"|"click_ui"|"hypr"|"wait_for", ...that tool's
args}, e.g. [{"op":"pointer","action":"click","x":800,"y":60},
{"op":"keyboard","action":"type","text":"hello","window":"0x.."},
{"op":"keyboard","action":"key","keys":"enter"}]. Every step runs, in
order, regardless of what the desktop does in between; a step that
raises stops the run and reports which one. To type into a specific
window reliably give that keyboard step a window= (address, substring
or description; it focuses first). Opt-in stop_on_change=true aborts
between steps if a window opens/closes/moves or the workspace switches
unexpectedly — useful when a dialog might appear, but it also fires on
changes you intended (Ctrl+T opening a tab), so it is off by default.
then observes the final state ('desktop' default, 'screenshot', 'ui',
'none').
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| then | No | desktop | |
| steps | Yes | ||
| stop_on_change | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |