Wait for something to be copied
wait_for_clipboard_changeWaits until a user or app copies new clipboard content, then returns it, so you can react to fresh copies without polling. Optionally skips sensitive items and times out if nothing changes.
Instructions
Wait until the user, or an app, copies something new, and return it. Clearing the clipboard doesn't count. Fails when nothing is copied in time.
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": "wait_for_clipboard_change"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| timeout_seconds | No | How long to wait, in seconds, before giving up. | |
| include_sensitive | No | False to wait on past a copy marked as sensitive (a password, from a password manager), for the next one. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| text | Yes | The text that was copied. Null when what was copied isn't text (an image, files...). |