Save website pictures
save_website_picturesSaves pictures the person gave you, such as photos they uploaded in the conversation, as files on a website, without sending their bytes as text: pass each one as a file in pictures and it is downloaded from its download_url. ChatGPT fills the file in itself; any AI can also pass a picture's public https address as download_url, with file_id any name for it. Each is saved as images/ unless paths names another place, and a large picture is made smaller to suit a web page. Returns saved, each picture's path and size to use as an src in the pages, beside the same report as save_website_files. Up to 10 pictures a call. Fails with picture_unreachable when a download address has expired (pass the file again) and not_a_picture for anything but a JPEG, PNG, WebP or GIF. For a website with a plan, use upload_image 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": {
"websiteId": "<websiteId>",
"pictures": "<pictures>"
},
"name": "save_website_pictures"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| paths | No | Optional: where to save each picture, in the same order as pictures, such as images/gallery-1.jpg. The extension follows the picture's real type. | |
| editKey | No | The editKey start_website returned, which proves the website is the caller's. Leave it out for a website in the connected account. | |
| pictures | Yes | 1 to 10 pictures, each a file: ChatGPT fills in download_url and file_id for a file the person uploaded; another AI passes a picture's public https address as download_url. | |
| websiteId | Yes | The websiteId start_website returned, or one list_sites shows. |