as_screenrecord
Record an Android device screen and save the .mp4 file to your computer. Specify output path, duration, and device serial.
Instructions
Record the device screen to an .mp4 and pull it to this PC.
Args: params (ScreenrecordInput): out_path, seconds, serial.
Returns: str: JSON with the saved local path and size.
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": {
"params": "<params>"
},
"name": "as_screenrecord"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| params | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |