upload_image
Upload a local image to your Ghost blog and get back its hosted URL for use as a post's feature image, site logo, or icon.
Instructions
Upload a local image file to the blog and return its hosted URL.
Use the returned URL for a post's feature_image, the site logo/icon
(via update_branding), or a newsletter header_image.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| purpose | No | ``image`` (default), ``profile_image``, or ``icon``. The latter two must be square images. | image |
| file_path | Yes | Path to a local image (WEBP, JPEG, GIF, PNG, SVG; ICO for icons). |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||