list_local_videos
List downloaded video files with filtering by file type and pattern, and sorting by name, size, or modification time. Helps you find videos to watch from your local storage.
Instructions
List locally downloaded video files with filtering and sorting.
Use this to discover what video files have been downloaded to the VIDEO_PATH directory. These are videos previously downloaded with download_video.
Parameters:
pattern: Glob pattern to filter filenames (e.g., "sora*.mp4", "*.webm"). Default: all files
file_type: Filter by type: "mp4", "webm", "mov", or "all". Default: "all"
sort_by: Sort results by "name", "size", or "modified". Default: "modified"
order: "desc" for newest/largest/Z-A first, "asc" for oldest/smallest/A-Z. Default: "desc"
limit: Max results to return. Default: 50
Returns list of VideoFile objects with: filename, size_bytes, modified_timestamp, file_type.
Example workflow:
list_local_videos(file_type="mp4") -> find downloaded MP4 videos
view_media(media_type="video", filename="my_video.mp4") -> watch it
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| limit | No | ||
| order | No | desc | |
| pattern | No | ||
| sort_by | No | modified | |
| file_type | No | all |