Add photos to property
pedra_add_images_to_propertyAdd property photos or 360° images by URL for editing, video, and virtual tour workflows. Provide image URLs and property ID; the server fetches them and returns stored img.pedra.ai URLs.
Instructions
Add photos to a property by URL (the server fetches each one, so any public https image URL or small data: URI works). Returns the stored img.pedra.ai URLs to use with the editing, video and tour tools. For photos on the user's device, use pedra_create_upload_link instead. Pass type "360" for 360° photos (checked to be 2:1 equirectangular), which can then become a virtual tour. (With this local server, 360° photo files on this computer can go through pedra_add_local_panoramas 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": {
"propertyId": "<propertyId>",
"imageUrls": "<imageUrls>"
},
"name": "pedra_add_images_to_property"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| type | No | What the images are: regular photos ("photo", the default) or 360° photos ("360"). | |
| names | No | Optional names, one per image in the same order as imageUrls (e.g. the original file names), up to 200 characters each. Returned by pedra_list_property_images and as source.name when the photo is edited. Never shown on the image. | |
| imageUrls | Yes | Image URLs to fetch and add to the property: up to 20 photos, or up to 10 when type is "360". | |
| propertyId | Yes | Target property id (from pedra_list_properties or pedra_create_property). |