keyboard_keycode
Send low-level Win32 virtual-key or scan-code events to a Windows 98 VM for precise keyboard control. Use this to automate keystrokes or trigger key combinations in the guest system.
Instructions
Send a low-level Win32 virtual-key or scan-code input event. VM remains locked by this session; call vm_unlock when finished.
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>"
},
"name": "keyboard_keycode"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| action | No | press | |
| vm_name | Yes | Unique VM name configured in WIN98CTL.INI. | |
| extended | No | ||
| scan_code | No | ||
| virtual_key | No |