Clipboard
clipboardReads and sets text in the browser’s tab-shared paste buffer without touching the system paste area; returns text, line breaks, length, and HTML presence, and can stage text for Ctrl+V.
Instructions
Reads the browser's own clipboard, shared by its tabs (the machine's clipboard is never touched): the text, with line breaks shown as \n (the browser stores CRLF on Windows for its pastes and a page's copy), its length, and whether HTML is there. With set, first puts that text there without pasting; Ctrl+V then pastes it.
Tool call template
This tool declares no required parameters. Add optional parameters from the input schema as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {},
"name": "clipboard"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| set | No | Text to put on the clipboard first. | |
| html | No | Also show the HTML, up to 20,000 characters. |