upload_media
Upload a local file or fetch a remote URL to obtain a storage path for use in hero images and media arrays.
Instructions
Upload a local file or have the server fetch a remote URL. Returns a /storage/... URL to reference in hero_image / media[].url.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| file | No | ||
| url | No | ||
| subdir | No |