list_adb_directory
Lists a single absolute Android device directory via ADB with names, permissions, sizes, dates, and symlink targets; read-only, and reports missing or denied paths.
Instructions
List one absolute device directory (ls -la): names, kinds, permissions, owner, group, sizes, dates, and symlink targets. Recognizes the standard errors for absent paths and denied reads. Read-only.
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>",
"device_path": "<device_path>"
},
"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 (ls -la) | |
| analysis_project_id | No | Optional investigation to retain this tool result in. Does not prove target identity or causal relationships. |