adb_screenrecord
Record an Android TV or device screen for a specified duration using ADB, then save the capture as an MP4 file locally and retrieve the file path for direct access to the recording.
Instructions
Record the screen for N seconds, pull it to a local mp4, return the path.
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_screenrecord"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| serial | No | device serial (host:port); omit if only one device | |
| seconds | No | ||
| local_path | No | /tmp/adb-tv-recording.mp4 |