List Locations
list_locationsList reusable location/scene reference images by structured filters or query: IDs, tags, date range, and sort. Use when the user wants to pick a saved background/location reference for a generation.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| page | No | Page number for pagination | |
| sort | No | Sort order: 'field:direction', e.g. 'created_at:desc', 'location_name:asc'. Default: created_at:desc | |
| limit | No | Number of items per page | |
| query | No | Hybrid search across location names, metadata, and visual attributes. | |
| tag_ids | No | Filter to locations with any of these tags | |
| end_date | No | Filter: created on or before this date (ISO format) | |
| start_date | No | Filter: created on or after this date (ISO format) | |
| location_ids | No | Filter to specific location IDs | |
| include_image_url | No | Set true when the location/reference image URL is needed for inspection or reuse. |