Make a photo upload link
create_upload_linkMakes a page where someone with no RunLite account (often the business owner) adds photos for spots on a site, such as the shop front or the team. Each slot names one spot: a stable key, the label people see, and either the path of the live JPEG, PNG or WebP image the photo replaces (a placeholder image can be deployed first for a spot with no photo yet) or a gallery, a JSON file a page reads and draws, which photos are added to; with an optional hint about the photo wanted. Returns the link once, for the user to send on. Photos sent wait in the site's dashboard until published there; nothing goes live by itself.
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": {
"siteId": "<siteId>",
"slots": "<slots>"
},
"name": "create_upload_link"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| slots | Yes | ||
| siteId | Yes | ||
| recipient | No | Who the link is for, as the page should greet them, e.g. "Raju". | |
| expiresInDays | No | How long the link works, 1 to 30 days. Default 7. |