Start logcat capture
start_logcat_captureStart streaming device logcat into a buffer, optionally clearing it first, so you can capture everything logged during an interaction and stop later with stop_logcat_capture.
Instructions
Begin streaming logcat into a buffer for this device (optionally clearing first). Pair with stop_logcat_capture to get everything logged DURING a flow — use this instead of the one-shot 'logcat' when you need logs across an interaction.
Tool call template
This tool declares no required parameters. Add optional parameters from the input schema as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {},
"name": "start_logcat_capture"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| clear | No | Clear the logcat buffer before capturing. Default true. | |
| serial | No | Target device serial (adb -s). Optional when exactly one device is attached. |