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.
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": {
"file_path": "<file_path>"
},
"name": "upload_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 | |||