pilot_clipboard
Read clipboard text from the browser or write text to it. Use to access copied links, keys, or to prepare content for paste.
Instructions
Read from or write to the browser clipboard. Use when the user wants to read content that an app copied to clipboard (share links, API keys, generated tokens), or pre-populate clipboard with text for paste operations.
Parameters:
action: "get" — read current clipboard text; "set" — write text to clipboard
text: Text to write when action is "set"
Returns:
get: The current clipboard text content.
set: Confirmation that text was written to clipboard.
Errors:
"Clipboard read failed": Browser security policy blocked clipboard access. Try in headed mode (pilot_handoff).
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| action | Yes | "get" to read clipboard, "set" to write | |
| text | No | Text to write to clipboard (required for action="set") |