file_ls
Lists directory contents on an Android device via ADB, returning each entry's path, size, and mode for inspection.
Instructions
List a directory on the device (path, size, mode).
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": "file_ls"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| path | Yes | e.g. /sdcard/Download |