text_type
Type text into the focused field. method: keys sends key events; paste goes through the clipboard (restored after) and is the choice for non-ASCII text. Click or ui_act focus the field first.
Arguments
Over MCP every tool also takes machine: the machine’s name or id, optional when only one machine is online.
| Name | Type | Required | Meaning |
|---|---|---|---|
method | `“auto” | “keys” | “paste”` |
observe | `“none” | “ui” | “image”` |
submit | boolean | no | Press Enter afterwards. Default: false. |
text | string | yes | The text, literally (at most 10 000 characters). Not logged in clear in the audit. |
Result
| Name | Type | Required | Meaning |
|---|---|---|---|
audit_id | string | yes | Id of the audit line on the machine. |
dispatched | boolean | yes | |
foreground_changed | boolean | yes | The frontmost app or window changed because of the action. |
observation | object | no | |
settled_ms | integer | yes | How long the screen took to go quiet after the action, in milliseconds. |
Examples
MCP
{
"name": "text_type",
"arguments": {
"machine": "<machine>",
"text": "<text>"
}
}Limits
The call times out after 30 s (timed_out). Available since version 0.0.2. A refused or failed call returns one of the error codes.