set_image_from_url
Sets an inventory item's photo or the company logo from an image on the web (for example a manufacturer's product photo). The server downloads the image itself, so nothing large passes through the conversation. Only public https:// addresses that return a JPEG, PNG, WebP, GIF or BMP image (up to 15 MB) work. For a photo the user pasted into the chat, use set_image_from_base64 or get_image_upload_link instead.
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": {
"target": "<target>",
"imageUrl": "<imageUrl>"
},
"name": "set_image_from_url"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| target | Yes | "item" to set an inventory item's photo (also pass inventoryItemId), or "logo" to set the company logo. | |
| imageUrl | Yes | The https:// address of the image file itself (not a web page that shows it). | |
| inventoryItemId | No | The inventory item id when target is "item" (from get_inventory). |