cua_batch_actions
Execute multi-step desktop GUI macros in a single call to automate clicks, typing, clipboard, waits, and app actions, with Escape-key abort and optional final screenshot.
Instructions
Execute a multi-step desktop GUI macro (activate, launch, mouse, keyboard, ax_action, clipboard, wait, wait_for, applescript, powershell) in a single tool call with Escape-key emergency abort and optional final screenshot.
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"steps": "<steps>"
},
"name": "cua_batch_actions"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| steps | Yes | Ordered list of step objects, each with 'type' and step-specific parameters. | |
| app_name | No | Optional default target app for virtual mouse/keyboard steps. | |
| input_mode | No | Default input mode for mouse/keyboard steps in this batch ('virtual' avoids interfering with user input). | virtual |
| stop_on_error | No | ||
| screenshot_app | No | ||
| screenshot_grid | No | ||
| final_screenshot | No | ||
| screenshot_target | No | full |