Upload image
upload_imageUpload a local image to a site's media store and retrieve the hosted URL for embedding in blog posts.
Instructions
Upload a local image to a site's media store and return the hosted URL.
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": {
"site": "<site>",
"path": "<path>"
},
"name": "upload_image"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| alt | No | ||
| path | Yes | Local path returned by generate_image | |
| site | Yes |