find_listings
Search property listings by address, MLS, or description. Filter by status, contact, or date range to find upcoming, expiring, or closed listings and retrieve their IDs for updates.
Instructions
Search the user's property listings by address/city/MLS/description, and/or filter by status, owning contact, or a DATE WINDOW. Returns listings with their ids, owner, and key dates (listDate/expirationDate/saleDate). This is the tool for vague temporal questions about listings — e.g. 'which listing is going live this week' → dateField listDate with dateFrom/dateTo covering this week (optionally status coming-soon); 'what's expiring this month' → dateField expirationDate; 'what closed in June' → dateField saleDate. Also call it to get a listingId before updating a listing or logging a listing event.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| query | No | Address, city, MLS#, or keyword fragment. Optional when filtering by status/date. | |
| dateTo | No | ISO 8601 date — upper bound for the chosen dateField. | |
| status | No | ||
| dateFrom | No | ISO 8601 date — lower bound for the chosen dateField. | |
| contactId | No | Only listings owned by this contact. | |
| dateField | No | Which date the dateFrom/dateTo window filters on. `listDate` = going live/listed, `expirationDate` = agreement expiring, `saleDate` = closed. Defaults to listDate. |