upload_image_from_url
Downloads a public image from a URL, uploads it to your Ghost blog, and returns the blog's hosted URL. Specify purpose as image, profile_image, or icon.
Instructions
Fetch a public image by URL and re-upload it to the blog, returning the URL.
The source is fetched under the same SSRF guard as the vision tools (public http(s) only; private/localhost hosts and oversized responses are refused), then uploaded to Ghost so the image is served from the blog itself.
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": {
"source_url": "<source_url>"
},
"name": "upload_image_from_url"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| purpose | No | ``image`` (default), ``profile_image``, or ``icon``. | image |
| source_url | Yes | A public image URL. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||