browser_paste
Paste text (plain, HTML, RTF) and files into a web page element using a selector, role, name, or snapshot reference. Falls back to the focused editable or document body if no target is given.
Instructions
Paste clipboard-style text and/or files into a target by snapshot ref, selector, or role/name. Supports text/plain, text/html, text/rtf, and local file paths such as images. If no target is provided, the focused editable element is used, then the root document body.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| ref | No | ||
| rtf | No | Optional text/rtf clipboard content. | |
| html | No | Optional text/html clipboard content. | |
| name | No | ||
| path | No | Single local file path convenience alias. | |
| role | No | ||
| text | No | Optional text/plain clipboard content. | |
| paths | No | Optional local file paths to add to clipboardData.files. | |
| selector | No |