browser_copy_to_clipboard
Copy credentials or tokens from a web page element to the system clipboard via CSS selector, returning only a character count so secrets never enter the conversation.
Instructions
SECRET-SAFE: Copy an element's value/text (or an attribute) to the system clipboard WITHOUT returning the content — only the character count comes back. Use for credentials/tokens that must move from a page (e.g. Azure "new client secret" value) to a field or CLI (pbpaste) without ever entering the conversation. CSS selectors only.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| selector | Yes | CSS selector of the element whose value/text to copy | |
| attribute | No | Optional: copy this attribute instead of value/textContent |