clipboard_get
Retrieve the current clipboard content from an Android device. Uses scrcpy GET_CLIPBOARD when a session is active and falls back to ADB commands for broader compatibility.
Instructions
Get the current clipboard content from the device. Uses scrcpy GET_CLIPBOARD when a session is active (works on Android 10+), falls back to ADB clipboard commands.
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": "clipboard_get"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| serial | No | Device serial number |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| source | Yes | Mechanism used to read the clipboard (scrcpy or adb) | |
| content | Yes | Current clipboard text on the device |