adb_mirror
Open a live scrcpy window of the Android device screen so a human can watch the agent's actions and take over with mouse and keyboard; optionally record the session to MP4.
Instructions
Open a live window of the device's screen on the operator's computer, using scrcpy, so a human can watch what you are doing and take over with mouse and keyboard. It is for them, not for you: you cannot see the window, so keep using adb_screenshot to look at the screen. Needs scrcpy installed and a desktop session; it does not work from Termux.
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": "adb_mirror"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| action | No | default start | |
| device | No | serial, ip[:port] or saved alias; omit to use the default device | |
| record | No | also save the session to this .mp4 path - say so before you do it | |
| max_size | No | limit the longest side in pixels, e.g. 1024 on a slow network | |
| view_only | No | show the screen without giving mouse and keyboard control |