guest_type_keystrokes
Type keystrokes into a logged-in, focused guest VM through VMware Tools to send text input. Use for in-guest automation; for pre-boot or BIOS input, type through the console instead.
Instructions
Type keystrokes into the guest via vmrun (requires VMware Tools; guest must already be logged in and focused). For pre-boot/BIOS input use console_type instead.
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": {
"vmx": "<vmx>",
"text": "<text>"
},
"name": "guest_type_keystrokes"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| vmx | Yes | ||
| text | Yes | ||
| guest_user | No | ||
| guest_password | No |