desktop_key
Press a key or key combination on your desktop, then return screenshot + elements.
Common keys: Return, Tab, Escape, Backspace, Delete, Home, End, ctrl+l (focus URL bar), ctrl+w (close tab), ctrl+c (copy), ctrl+v (paste), alt+F4 (close window).
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": {
"vm_name": "<vm_name>",
"key": "<key>"
},
"name": "desktop_key"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| key | Yes | Key or key combination to press. Examples: 'Return', 'Tab', 'Escape', 'ctrl+l', 'ctrl+c', 'alt+F4', 'ctrl+shift+t' | |
| api_key | No | MCP API key | |
| vm_name | Yes | VM to drive. For a graph launch use its returned of-deploy-* vm_name. For image verification use the of-test-* vm_name returned by resume_test_environment or vms[].vm_name / environment.snapshot.vm_name from get_test_results. For app testing use your own of-desktop-* or of-tester-* VM. | |
| include_perf | No | Include per-stage timing metrics in the response. | |
| response_mode | No | Response detail: full (inline frame + URL + UI elements), screenshot (inline frame + URL, skip OmniParser), none (no capture; blind action only). | full |
| session_token | No | Session token | |
| screenshot_delay | No | Seconds to wait after key press before taking screenshot (default: 0.15). |