download_unsplash_media
Download an Unsplash photo from a URL to a local file, automatically creating parent directories.
Instructions
Download a single photo from an Unsplash URL to a local file. Use the URLs returned by search_unsplash_photos (e.g. urls.regular). Creates parent directories automatically.
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": {
"url": "<url>",
"dest_path": "<dest_path>"
},
"name": "download_unsplash_media"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| url | Yes | The Unsplash photo URL to download (e.g. regular or small URL). | |
| dest_path | Yes | Absolute local file path to save the downloaded file. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |