safari_replace_editor
Replace all content in code editors like Monaco, CodeMirror, Ace, and ProseMirror using their native APIs. Ideal for updating Airtable automations, GitHub gists, CodePen, or n8n code nodes.
Instructions
Replace ALL content in a code editor (Monaco, CodeMirror, Ace, ProseMirror). Use ONLY for code editors — Airtable automations, GitHub gists, CodePen, n8n code nodes, etc. NOT for rich text editors like Medium/LinkedIn (use safari_fill for those). Detects ProseMirror/Draft.js/CodeMirror/Monaco/Ace and uses their native API.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| text | Yes | The complete code/text to put in the editor | |
| receipt | No | Tab receipt from safari_new_tab — pins this call to that tab (survives reconnects/subagents) |