media
Scan any web page to list and download images, videos, and audio files to your local storage.
Instructions
Discover and download media files (images, videos, audio) from web pages.
Actions:
list: Scan a page and return media URLs with metadata. Example: media(action="list", url="https://example.com/gallery", media_type="images")
download: Download media files to local storage. Example: media(action="download", media_urls=["https://example.com/photo.jpg"])
Key parameters:
url (required for list): Page URL to scan
media_urls (required for download): List of media URLs to download
media_type: Filter for list -- "images", "videos", "audio", "files", "all" (default: "all")
output_dir: Download directory (default: ~/.wet-mcp/downloads)
prompt: Reserved -- accepted for backward compatibility, ignored
Typical workflow: list (discover) -> download (save locally). For LLM analysis (vision/audio/video), hand the downloaded path to imagine-mcp's understand action. The legacy media(action="analyze") was REMOVED in wet v2.0.0 (deprecated since v1.x.y); calling it now returns the standard unknown-action error.
Use help tool with tool_name="media" for full documentation.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| action | Yes | ||
| url | No | ||
| media_type | No | all | |
| media_urls | No | ||
| output_dir | No | ||
| max_items | No | ||
| prompt | No | Describe this image in detail. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |