clipboard_set
Set clipboard text on an Android device by sending content via scrcpy when a session is active, with an optional paste action, or falling back to ADB clipboard commands when needed.
Instructions
Set the clipboard content on the device. Uses scrcpy SET_CLIPBOARD when a session is active (with optional paste flag), falls back to ADB clipboard commands.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| text | Yes | Text to set in the clipboard | |
| paste | No | Also simulate paste action (scrcpy only) | |
| serial | No | Device serial number |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| source | No | Mechanism used to set the clipboard (scrcpy or adb) | |
| message | Yes | Human-readable description of the result | |
| success | Yes | Whether the clipboard was set |