List Adb Directory
list_adb_directoryLists the immediate children of an absolute Android device directory via ADB, including hidden entries, metadata, and symlink targets, for read-only device file inspection.
Instructions
List the immediate children of one absolute device directory, including hidden entries: names, kinds, permissions, owner, group, sizes, dates, and symlink targets. Names and targets preserve embedded newlines. Recognizes the standard errors for absent paths and denied reads. Read-only.
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",
"device_path": "/data/data/com.example.app"
},
"name": "list_adb_directory"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| serial | Yes | Device serial exactly as `adb devices` reports it | |
| device_path | Yes | Absolute device directory path to list, including hidden children |