Request an invite
Docs menu

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

methodstring

keys: 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.

submitboolean

Press Return after the text; default false.

textstringRequired

The text.

vmstringRequired

The 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

methodstringRequired

One of keys, paste.

verificationobjectRequired
verification.evidencestringRequired
verification.statusstringRequired

One of verified, unverified, failed.

Report a problem with this page