Upload an image
upload_imageUpload an image Subo hosts, for any image field. Subo downloads the image at url and returns its own hosted url; put that in image_url or thumbnail_url of a block, or the invitation image. Not needed for a link that will last: any https image link goes in an image field as it is. Use it for links that expire (a Discord attachment link stops working in a day) or may disappear. PNG, JPEG, GIF or WebP, within the community's plan size limit (too_large names the limit). Public https links only; KLIPY links are refused (put a KLIPY GIF's link in the field as it is).
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 | An https link to a PNG, JPEG, GIF or WebP image on the public internet. Subo downloads it and hosts its own copy. |