List Site Photos
list_site_photosList images the user has previously uploaded to their photo library for this site (the 'My Photos' library at /photos in Zarla — real photos of their work, NOT stock images). ALWAYS check here first when the user asks you to use 'their photos', 'photos of my work', 'pictures from my last job', or similar. Returns the newest 100 image URLs, which you can pass directly to update_block (image / images), update_business_info, or update_seo. If this returns 0 photos, the user hasn't uploaded any yet — at that point, ask if they'd like to upload some via request_image_upload, or fall through to stock imagery.
Annotations: read-only=true, destructive=false, idempotent=true, open-world=false. Why: Reads data only and changes nothing (read-only, so trivially idempotent). Closed-world: it touches only Zarla's own database.
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": {
"site_id": "<site_id>"
},
"name": "list_site_photos"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| status | No | Filter by status. Default "all". The photo library has no drafts — "draft" always returns 0 photos; use "all" (or omit). | |
| site_id | Yes | The site this photo library belongs to |