Stop logcat capture
stop_logcat_captureStops the active logcat capture and returns collected logs, optionally filtered by substring, priority, or tags, with a default tail cap of 500 lines.
Instructions
Stop the running logcat capture and return what was collected since start, optionally filtered by a case-insensitive substring, a minimum priority (V/D/I/W/E/F), and/or tags (OR'd). Output is capped to the last 500 lines by default (override with tail) so a long capture doesn't blow the token budget — narrow with the filters first.
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": "stop_logcat_capture"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| tags | No | Keep only lines whose log tag contains one of these (case-insensitive, OR'd). | |
| tail | No | Keep only the last N lines after filtering (the most recent, where a crash usually is). Default 500; pass a larger number for more, or a huge one to effectively disable the cap. | |
| filter | No | Case-insensitive substring to keep. | |
| redact | No | Mask common secrets (token, password, authorization, api key, secret) before returning captured lines. | |
| serial | No | Target device serial (adb -s). Optional when exactly one device is attached. | |
| priority | No | Minimum priority to keep: V, D, I, W, E, or F. |