Start a logcat stream
start_logcat_streamStart a long-lived adb logcat stream on one Android device and get a stream_id to poll logs with read_logcat_stream and release it later with stop_logcat_stream.
Instructions
Start a long-lived adb logcat process on one device and return a stream_id. Poll it with read_logcat_stream and release it with stop_logcat_stream. Streams are killed when the server shuts down.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| device | No | Device serial from list_devices; optional when exactly one device is connected. | |
| filter_spec | No | logcat filter spec, e.g. "AndroidRuntime:E *:S" or "ActivityManager:I *:S". Space separated, passed to adb logcat as-is. |