upload_image
Add an image the user already has to their library, so it can be animated, rotated or edited. The editors work on squares of 32, 48, 64, 96, 128, 192, 256 or 384, 512, 768 or 1024 px; any other picture is centred on the smallest of those that holds it, with transparent padding (scaled down to 1024 if larger), and the reply says so. Give it as a public URL (best: a long base64 string is easy to garble) or as base64. Free.
Tool call template
This tool declares no required parameters. Add optional parameters from the input schema as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {},
"name": "upload_image"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| url | No | Public http(s) link to the image. Use this when the image is online | |
| type | No | character | |
| image | No | Base64 image instead of url (a data: prefix is stripped automatically) | |
| remove_bg | No | Remove the background on upload |