clipboard_copy
Copy text or formatted content to the system clipboard, replacing current contents so you can paste it into other applications.
Instructions
Copy text to the user's system clipboard. Replaces whatever is currently on the clipboard with the provided content.
WHEN TO CALL THIS TOOL:
Call this tool when the user says "copy this", "put this on my clipboard", "copy to clipboard", "send to clipboard", or any phrase that implies writing content to the clipboard.
Also call this tool when you have produced formatted output (cleaned-up JSON, a markdown table, reformatted code, an HTML table, etc.) and the user wants to use it outside the conversation — copying to clipboard lets them paste it elsewhere.
Args:
content: The text to place on the clipboard. Any string is accepted.
mime_type: MIME type for the clipboard content (default: "text/plain").
Use "text/html" to write HTML that applications can paste as rich
text. Use "text/rtf" to write RTF content. Use "image/svg+xml"
to write an SVG; SVG is XML, so it rides this text-write path
rather than clipboard_copy_image. Binary image MIME types
(image/png, image/jpeg, etc.) and audio/* / video/* are
rejected — for PNG or JPEG, use clipboard_copy_image.
Note: On Wayland and X11, any text/* MIME type is accepted, plus
image/svg+xml. On macOS and Windows, only text/plain, text/html,
text/rtf, and image/svg+xml are supported.
Returns: A confirmation message with the number of characters copied and the MIME type written.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| content | Yes | ||
| mime_type | No | text/plain |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |