editor_send_keys
Sends real keyboard shortcuts to Construct 2 as a last resort, bringing the editor to the front to run save, preview, or export commands when UI automation is unavailable.
Instructions
LAST RESORT: brings Construct 2 to the front and types with the real keyboard (pywinauto syntax: ^s = Ctrl+S, {ENTER}, {F5}). Interrupts whoever is using the PC; prefer editor_ui_act.
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": {
"keys": "<keys>"
},
"name": "editor_send_keys"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| pid | No | ||
| keys | Yes | ||
| project | No |