desktop_type
Insert text at the caret of a referenced macOS UI element to automate typing; use accessibility insertion for headless runs or real key presses when headed.
Instructions
Insert text at the caret of a ref (headless: accessibility insert; headed: real key presses).
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": {
"ref_id": "<ref_id>"
},
"name": "desktop_type"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| text | No | ||
| headed | No | ||
| ref_id | Yes | ||
| timeout_ms | No | ||
| interval_ms | No |