collect_adb_bugreport
Capture a device-generated Android bugreport archive into a chosen output directory to diagnose device state, dumpsys, and logcat issues; collection may take minutes.
Instructions
Collect one device-generated bugreport archive (adb bugreport) into a caller-selected output directory, digesting the zip. The archive contains the device's own dumpstate, dumpsys, and logcat report; collection can take minutes. Read-only with respect to configuration.
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>",
"output_directory": "<output_directory>"
},
"name": "collect_adb_bugreport"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| serial | Yes | Device serial exactly as `adb devices` reports it | |
| output_directory | Yes | Local directory for the bugreport archive; REA writes exactly one new zip into it | |
| analysis_project_id | No | Optional investigation to retain this tool result in. Does not prove target identity or causal relationships. |