type_text
Type text in a virtual machine.
Types text into the focused field as keys, about 40 characters a second and at most 30 seconds of them a call, or by pasting it; method says which.
- Profiles
- operator, full
- Read-only
- No
- Destructive
- Yes
- Idempotent
- No
- Open world
- Yes
- Runs as a task
- No
Parameters
methodstringkeys: keystrokes on the guest's layout, refusing with nothing typed what it cannot type or anything under a macOS input method. paste: the guest's clipboard and paste shortcut, for any layout and characters; needs a signed-in user and, in macOS or Windows, the guest agent. auto (default): keys for what fits in 30 seconds, paste for what is longer or the layout cannot type.
One of
auto,keys,paste.submitbooleanPress Return after the text; default false.
textstringRequiredThe text.
vmstringRequiredThe machine's name or identifier, as vm_list shows it.
Output
The result's structured content is an object with these fields.
JSON Schema: /schemas/0/mcp/tools/type_text/output.json
methodstringRequiredOne of
keys,paste.verificationobjectRequiredverification.evidencestringRequiredverification.statusstringRequiredOne of
verified,unverified,failed.