Upload an image
upload_imageCopy an image from a URL into miow's store and get back the URL to use in a pictures block. Up to 10 MB. JPEG, PNG, GIF, WebP and AVIF are kept as they are; a BMP or a TIFF is stored as a JPEG; an SVG is drawn as a PNG at twice its size, and refused if it holds a script or links to other files. Use it for an image on someone else's server, which may move or vanish.
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": {
"url": "<url>"
},
"name": "upload_image"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| url | Yes | https URL of the image | |
| token | No | The site token from create_site or the site's settings. Omit if your Authorization header carries it. |