Stop async focus trace
mobile_focus_trace_stopStop an async mobile focus session to retrieve focus change events and trace samples for flash or launcher debugging on a specified device.
Instructions
Stop an async focus session and return focus change events plus samples (wallClockIso, tMs, optional recordOffsetMs). Prefer changes for flash/launcher hunting. Large traces write samples JSON to an artifact.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| serial | Yes | Exact ADB serial from mobile_devices_list; never inferred when multiple devices exist | |
| focusSessionId | Yes | ||
| includeAllSamples | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| serial | Yes | ||
| changes | Yes | ||
| samples | Yes | ||
| truncated | Yes | ||
| displayIds | Yes | ||
| durationMs | Yes | ||
| changeCount | Yes | ||
| sampleCount | Yes | ||
| startedAtIso | Yes | ||
| stoppedAtIso | Yes | ||
| boundRecordId | No | ||
| droppedSamples | Yes | ||
| focusSessionId | Yes | ||
| sampleIntervalMs | Yes | ||
| responseCompacted | No | ||
| samplesArtifactUri | No |