safari_native_type
Insert real text input into Safari fields and rich editors in the background so React, ProseMirror, Slate, and Draft.js update their internal state, letting form submissions work.
Instructions
Insert text as real input, in the background (Safari is never activated, the clipboard is untouched). Inputs and textareas get it through the macOS accessibility tree (isTrusted beforeinput/input, any language); rich editors (contenteditable) and cross-origin frames get key events that carry the text, posted to Safari (the agent's window must be Safari's front window; the field is read back, and text that did not arrive is reported). Unlike safari_fill which manipulates DOM directly (breaking React/ProseMirror state), this is real input — ProseMirror/Slate/Draft.js process it natively and update their internal model. After native_type, pressing Enter (via safari_native_keyboard) will actually submit the form because the framework state matches the DOM. No focus stealing. Use for Discord, Slack, and any editor where safari_fill works visually but the content isn't 'really there' when you try to submit.
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": {
"value": "<value>"
},
"name": "safari_native_type"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| ref | No | Ref ID from safari_snapshot to focus first | |
| why | No | Optional short purpose of this step, shown to the user in the cursor's status pill (e.g. 'to save the settings'). The page can read it: never put passwords, codes, card numbers or other private data in it. | |
| value | Yes | Text to insert as real input | |
| receipt | No | Omit it: Daylight has no tab receipts and refuses a call that passes one | |
| selector | No | CSS selector of the editor element to focus first |