Type text
type_textTypes text into the focused control of a specified window, enabling automated input to desktop applications; use element-specific methods for known fields.
Instructions
Type text into the target window's focused control. To type into a known field prefer element_type or element_set_value.
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": {
"target": "<target>",
"text": "<text>"
},
"name": "type_text"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| text | Yes | Text to type. | |
| target | Yes | Window id from list_windows, "desktop", or "display:<id>" / "display:active" / "display:all". Prefer a window id: window input runs in the background; desktop/display input drives the user's real pointer and keyboard. | |
| takeover | No | Omit (default): background first; the server decides any takeover. true: activate the window and post real input now. false: background only, never take over. |