# Work with your browser's agent in the editor

> Use a browser agent with native WebMCP support to read the open document, select a passage, and replace selected text.

[Try it in Plot](https://app.inkwell.software/projects)

A browser agent with native WebMCP support can work with the document open in Inkwell. Its tools can read the document, select a passage, and replace selected text.

1. **Open your document**

   Sign in and open the Plot or Canvas document you want to work on. Keep its editor open while using the browser's agent.

   ![An open Plot document: the outline (1), the page, the companion sidebar (2), and the command palette (3). The browser's tools work with the document on the page.](https://www.inkwell.software/help/editor-overview.light.webp)

   _An open Plot document: the outline (1), the page, the companion sidebar (2), and the command palette (3). The browser's tools work with the document on the page._

2. **Give the browser agent a task**

   Use the browser's agent controls to ask it to read or select the passage you mean. To change a passage, choose a short selection within one screenplay element or paragraph. Ask it to select that text first and then replace it with a single line. The selection appears on your page.

   ![A short selection within one action paragraph (1). Check the highlighted words before replacing them.](https://www.inkwell.software/help/editor-selected-passage.light.webp)

   _A short selection within one action paragraph (1). Check the highlighted words before replacing them._

3. **Review the words**

   Read the replacement in the editor. Use **Undo** to reverse it, just as you would an edit you typed yourself. In Ghost Mode, publish the private draft when you want to share the result.

   ![Review a replacement on the page, then use Undo to bring back the original words.](https://www.inkwell.software/help/editor-replacement-undo.light.webp)

   _Review a replacement on the page, then use Undo to bring back the original words._

   [Watch the recording](https://www.inkwell.software/help/editor-replacement-undo.light.webm)

## What next

- [Rewrite a selection with inline edit](https://www.inkwell.software/help/ai/inline-edit-and-alternatives): Select text, describe the change, read the alternatives, and accept one in place — the quickest AI edit in Plot.
- [Use Agent Mode for a bigger revision](https://www.inkwell.software/help/ai/agent-mode): Hand the Dramaturg a goal that spans scenes, answer its questions when a choice is yours, and review what it changed on your page.

---

Canonical page: <https://www.inkwell.software/help/ai/browser-editor-tools>
