Resize logcat ring buffer
devilge_resize_logcat_bufferIncrease the logcat ring buffer size to prevent recent logs from being evicted quickly when verbose Ktor logging is used. Applies to future captures only.
Instructions
Increase the device-side logcat ring buffer so that recent HTTP / app logs are not evicted within seconds. Applies to subsequent captures only — entries already lost are gone. Recommended whenever Ktor LogLevel.ALL produces dozens of lines per request.
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": {
"sizeMb": "<sizeMb>"
},
"name": "devilge_resize_logcat_buffer"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| serial | No | Device serial. Defaults to DEVILGE_DEFAULT_DEVICE_SERIAL or the only attached device. | |
| sizeMb | Yes | New logcat buffer size in MiB (1-256). 16 is a sensible default for verbose Ktor logging. |