set_clipboard
Sets text on an Android device or emulator clipboard via ADB, supporting full Unicode characters. Use it to programmatically copy any string for use in apps or UI tests.
Instructions
Set text to the device clipboard. Text is transferred via adb push (binary transfer, no shell involvement, full Unicode support).
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": "set_clipboard"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| text | Yes | Text to copy to clipboard |