record_screen
Capture an Android or iOS device screen for a set duration and save the recording as an MP4 file to a specified path.
Instructions
Record the device screen for a given duration and save to a file
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": {
"platform": "<platform>",
"device": "<device>",
"output_path": "<output_path>"
},
"name": "record_screen"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| device | Yes | Device ID or name | |
| platform | Yes | Target platform | |
| output_path | Yes | Absolute path to save the video file (.mp4) | |
| duration_sec | No | Recording duration in seconds |