list_storage_files
List files and directories on the device's internal storage to locate media assets for uploading, downloading, or managing on the Busy Bar display.
Instructions
List files and directories stored on the Busy Bar device at a given path.
This tool calls `StorageApi.list_storage_files(path)` to enumerate the directory
contents on the device's internal storage for the specified path.
Args:
path: The directory path to list (e.g., "/", "/photos"). Defaults to "/".
Returns a StorageList object containing:
- A list of StorageListElement objects, each with:
- type (str): File type — "file" or "dir"
- name (str): Name of the file or directory
Use case:
Browse device storage to find files before uploading, downloading, or managing
media assets for display on the Busy Bar unit.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| path | No | / |