Stop screen record
stop_screen_recordStops screen recording, finalizes the MP4, and pulls it to a local path; fails with an explanation if no frames were captured instead of saving an empty file.
Instructions
Stop the screen recording, finalize the mp4, and pull it to a local path. Fails with an explanation if the recording holds no frames (the display was asleep) instead of saving an empty 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": {
"local_path": "<local_path>"
},
"name": "stop_screen_record"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| serial | No | Target device serial (adb -s). Optional when exactly one device is attached. | |
| local_path | Yes | Local path to save the pulled mp4, e.g. /tmp/rec.mp4. |