Add photos
owner_photosOnly for business owners signed in to Awning. Save photos for the business page using supported chat attachments in files or downloadable image links in urls. Called with nothing, returns an upload widget where supported and upload_url as a fallback. The response lists the photos the page has now in current, with photo_id for owner_remove_photos. Use the owner's own photos of the actual place first. If they have none or want more, offer to generate illustrations with your own image tools using photo_prompts from owner_setup or owner_photos: they follow Awning's house style so the page matches the rest of the site. Let the owner approve every picture before importing it, and pass ai_generated: true for generated ones — the page then presents them as illustrations, never as the real premises. Explain any cost or plan limit of the assistant's image tools before using them; Awning does not generate or bill for images. Import only downloadable image URLs or supported attachment links; never invent a URL or send a local file path. If attachments cannot be transferred, return the upload link. Mark photos_done only after successful uploads and the owner says they are finished; resolve failed uploads first. Use it to add or list photos; to take photos off use owner_remove_photos.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| urls | No | Downloadable image addresses (at most 10). Never invent one. | |
| files | No | Image attachments from the chat, as the host provides them | |
| draft_id | No | Which business being set up gets the photos, when there are several | |
| business_id | No | Which business, when the owner runs several: business_id from owner_status. Leave out when there is only one. | |
| ai_generated | No | True when the pictures were generated rather than photographed; they are then shown as illustrations |