vphone_file_list
List files and directories in an allowed iOS sandbox path, optionally recursively, to inspect virtual device storage contents.
Instructions
List directory contents.
Lists files and directories in the specified path. The path must be within an allowed directory (/var/mobile/Documents, /var/mobile/Media/DCIM, /var/mobile/Media/Pictures, or /var/tmp).
Args: path: Absolute directory path to list. recursive: If True, list contents recursively.
Returns: FileListOutput with list of FileInfo entries.
Raises: PathSecurityError: If path validation fails. NotConnectedError: If not connected to bridge.
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": "vphone_file_list"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| path | Yes | Directory path to list | |
| recursive | No | List recursively |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| path | Yes | ||
| entries | Yes |