ios_file_list
List files and directories on an iOS device. Returns each entry with its name, type (file/dir/link), size and modification time. Pass bundleId to browse a specific app's own container — that is where an app under test keeps its database, caches and logs — or omit it to browse the shared media directory (photos, downloads). Use depth above 1 to recurse. An entry that could not be read comes back with type: null and an error, so one bad child never hides the rest of the listing.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| udid | Yes | iOS device UDID | |
| depth | No | Recursion depth (default 1 = the directory itself) | |
| bundleId | No | Bundle id of an app whose OWN container to browse (Documents/, Library/, tmp/) — the files the app itself reads and writes. Omit to use the shared media directory (photos, downloads) instead. Only apps built for testing expose a container; store-installed apps cannot. | |
| remotePath | Yes | Absolute path within the chosen root, e.g. "/Documents" |