safari_native_type
Insert text as real input, in the background (Safari is never activated). Inputs and textareas get it through the macOS accessibility tree (isTrusted beforeinput/input, any language, clipboard untouched); rich editors (contenteditable) get…
Instructions
Insert text as real input, in the background (Safari is never activated). Inputs and textareas get it through the macOS accessibility tree (isTrusted beforeinput/input, any language, clipboard untouched); rich editors (contenteditable) get a real paste (Cmd+V to the Safari window). Unlike safari_fill which manipulates DOM directly (breaking React/ProseMirror state), this goes through the real paste pipeline — ProseMirror/Slate/Draft.js process the paste event 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. Saves and restores the user's clipboard. 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 | |
| value | Yes | Text to insert via clipboard paste | |
| receipt | No | Tab receipt from safari_new_tab — pins this call to that tab (survives reconnects/subagents) | |
| selector | No | CSS selector of the editor element to focus first |