record_screen
Captures Android or iOS screen activity to an MP4 file for bug reproduction. Start or stop recording and retrieve the local file path.
Instructions
Record the device screen to an mp4 file. action "start" begins recording (Android caps at 180s), action "stop" finalizes it and returns the local file path. Useful for bug repro evidence.
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": {
"action": "<action>"
},
"name": "record_screen"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| force | No | With action "start": discard a recording already in progress instead of failing. Default: false | |
| action | Yes | "start" to begin recording, "stop" to finish and retrieve the video, "status" to check without changing anything | |
| platform | No | Target platform. Inferred if omitted. | |
| device_id | No | Device ID. Omit for the connected device. |