Add a photo from a link
add_photoAdds a photo to a unit, or to the venue itself when unit_id is left out. Give the direct public https link to an existing photo file (jpg, png or webp, up to 15 MB): it is downloaded, resized and stored. The first photo of a group is its cover. Up to 16 per unit and for the venue. It stores existing photos only; it does not create images. Acts on one venue, given its address and access key.
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": {
"address": "<address>",
"access_key": "<access_key>",
"image_url": "<image_url>"
},
"name": "add_photo"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| address | Yes | The venue’s address name, the "name" in name.bookare.app. | |
| unit_id | No | Leave out for a photo of the venue as a whole. | |
| image_url | Yes | Direct link to the photo file. | |
| access_key | Yes | The venue’s access key. | |
| make_cover | No | True puts it first. |