act
Execute ordered Windows desktop actions via UI Automation, native, or background message input, with configurable feedback and screenshots.
Instructions
Run ordered actions with uia, native, or background message input_mode.
Omitted input_mode preserves native=false/true. Explicit native or message mode opts in alone; native=true conflicts with explicit uia/message.
Explicit native force_focus restores/attaches input threads and verifies the exact foreground HWND; focus keeps conservative SetForegroundWindow behavior. Neither is automatically used before keyboard or mouse actions. Auto feedback returns full state for message, an image for native, text for UIA; screenshot=false disables feedback. Observation does not verify game effects. feedback=compact/detailed controls native receipt/context metadata only, independently of screenshot; it does not select another input channel.
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": {
"actions": "<actions>"
},
"name": "act"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| focus | No | ||
| native | No | ||
| target | No | ||
| actions | Yes | ||
| timeout | No | ||
| feedback | No | compact | |
| settle_ms | No | ||
| capture_id | No | ||
| input_mode | No | ||
| key_method | No | scancode | |
| screenshot | No | auto | |
| stop_on_error | No | ||
| coordinate_space | No | screen | |
| max_output_bytes | No | ||
| max_output_chars | No |