Type
typeSet the text value of a macOS UI field by matching its selector, enabling programmatic input into native app interfaces.
Instructions
Set the text value of a field matched by selector.
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": {
"selector": "<selector>",
"text": "<text>"
},
"name": "type"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| text | Yes | ||
| window | No | ||
| selector | Yes | e.g. "#email", Textfield "Email". |