clipboard_set
Set clipboard content on an Android device. Optionally trigger a paste action using scrcpy, with automatic fallback to ADB commands.
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.
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"text": "<text>"
},
"name": "clipboard_set"
}
}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 |