Collect Adb Bugreport
collect_adb_bugreportCollects a device-generated adb bugreport archive into a caller-selected output directory and digests the zip, enabling offline inspection of dumpstate, dumpsys, and logcat data.
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.
Example tool call
This call uses example arguments supplied in the tool’s input schema.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"serial": "emulator-5554",
"output_directory": "/tmp/rea-bugreports"
},
"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 |