Browser Clipboard
browser_clipboardRead or write the system clipboard from page context, auto-granting permissions to verify Copy buttons or paste text into pages without inputs.
Instructions
Read or write the system clipboard from the page context. Automatically grants the clipboard-read/clipboard-write permissions for the current origin first — you do NOT need to call browser_emulate separately for this. Use to verify a "Copy to clipboard" button worked, or to paste text a page doesn't expose an input for.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| mode | No | Force a specific mode. Defaults to extension. | |
| text | No | Text to write to the clipboard (required for "write") | |
| action | Yes | Action to perform | |
| sessionId | No | Puppeteer session ID for headless mode. Skips mode selection. |