adb_cat
Read a text file from an Android device through ADB, with optional device serial and line-limit controls to inspect specific content.
Instructions
Read a text file from the device
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": {
"path": "<path>"
},
"name": "adb_cat"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| path | Yes | File path on device | |
| device | No | Device serial | |
| maxLines | No | Maximum lines to return (1-10000) |