Record an Android display
mobile_screen_recordRecords one Android display for a bounded duration via ADB, blocking until done. Use start/mark/stop tools instead when input must be interleaved during capture.
Instructions
Blocking record of one physical-backed display for a bounded duration. Prefer mobile_record_start/mark/stop when input must be interleaved.
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": {
"serial": "<serial>",
"displayId": "<displayId>"
},
"name": "mobile_screen_record"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| serial | Yes | Exact ADB serial from mobile_devices_list; never inferred when multiple devices exist | |
| displayId | Yes | Android framework logical display ID, not a SurfaceFlinger physical ID | |
| durationSeconds | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| path | Yes | ||
| serial | Yes | ||
| displayId | Yes | ||
| sizeBytes | Yes | ||
| artifactUri | Yes | ||
| physicalDisplayId | Yes |