upload_website_image
Upload an image for a website post (PNG, JPEG, WebP, GIF or SVG; SVG is converted to an image). Returns an https URL to use as featuredImage or in . Inline base64 up to ~180KB through this connection; for larger images pass a public https sourceUrl.
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": {
"filename": "<filename>",
"contentType": "<contentType>",
"proAccessToken": "<proAccessToken>"
},
"name": "upload_website_image"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| alt | No | Alt text stored with the image. | |
| filename | Yes | Original filename, e.g. hero.jpg. | |
| sourceUrl | No | Public HTTPS image URL. Private-network targets are rejected. Pass exactly one of dataBase64 or sourceUrl. | |
| dataBase64 | No | Inline base64 image bytes (no data: prefix). Pass exactly one of dataBase64 or sourceUrl. | |
| contentType | Yes | Image MIME type, e.g. image/jpeg. | |
| proAccessToken | Yes | The proAccessToken printed by confirm_pro_signup or renew_pro_access. It names the pro's storefront for this call and is valid for 24 hours. |