Get a picture upload link
get_picture_upload_linkMakes a link where the person adds their own photos to a website from their phone or computer, so the photos never pass through the conversation. Give them uploadUrl: it takes up to 10 photos of up to 20 MB each and works for 24 hours. Each photo is saved as images/, made smaller to suit a web page. When the person says they are done, list_website_files shows the saved paths to use as the src of an in the pages. Making the link changes nothing on the website. For photos already passed to you as files, save_website_pictures saves them directly.
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>"
},
"name": "get_picture_upload_link"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| 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. | |
| websiteId | Yes | The websiteId start_website returned, or one list_sites shows. |