file_list
Lists files and directories at a specified absolute path on an Android device. Supports device serial for multi-device environments.
Instructions
List directory contents on 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": "file_list"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| path | Yes | Absolute path to the directory on the device (e.g., /sdcard/) | |
| serial | No | Device serial number |