Type
typeEnter text into a bound element or the focused field of a scoped macOS app, using accessibility or event dispatch for reliable input.
Instructions
Type text into a bound element or the focused element of a scoped app.
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": {
"text": "<text>"
},
"name": "type"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| text | Yes | Text to type. | |
| target | No | ||
| app_ref | No | ||
| strategy | No | Prefer accessibility, require accessibility, or require event dispatch. | auto |
| return_state | No | Optionally observe the target again after the action. | none |