Search listings
search_listingsSearches listings for sale only, no rentals (nur Kauf, keine Miete): use this when the user wants to buy an apartment, house or building plot in Germany, e.g. by city, district, price, living area, rooms or features. Typical requests: "Wohnung kaufen in Hamburg-Eimsbüttel", "Eigentumswohnung mit Balkon bis 300.000 €", "Haus mit Garten bei Paderborn", "Grundstück im Kreis Paderborn", "Kapitalanlage-Wohnung in Hamburg", "Doppelhaushälfte im Hamburger Umland", "buy a flat in Hamburg". Only published listings for sale on Objelio; nothing outside Germany. A rent search returns an explanation and listings for sale in the same region. Investment searches (Kapitalanlage) without a match return the nearest real investment listings (naechste_kapitalanlagen). Pass structured criteria (preferred) or the user's request as text. Free-text requests are processed by an AI service (Anthropic API) to extract search criteria; Objelio stores the request and the criteria without any link to a person. Returns up to 10 listings with price, area, rooms, a fit per criterion (erfuellt = met, abweichend = slightly outside, unbekannt = no information) and a link to the listing page where the user can contact the agent.
Tool call template
This tool declares no required parameters. Add optional parameters from the input schema as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {},
"name": "search_listings"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| text | No | The user's request in their own words (German or English), used only if criteria is missing. | |
| criteria | No | Structured search criteria. Leave out fields the user did not mention. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| anzahl | Yes | Total number of matching listings, demo listings included. | |
| hinweis | Yes | ||
| treffer | Yes | ||
| suche_id | Yes | Pass to get_listing as search_id. | |
| kriterien | Yes | The applied criteria in German words. | |
| anzahl_echt | Yes | Number of real listings (without demo listings). Real listings come first in treffer. | |
| vorschlaege | Yes | Wider searches with their number of real listings, when there are no or few real listings. For rent searches: listings for sale in the same region (Objelio has no rentals). | |
| vergleich_link | Yes | Side-by-side comparison of the first three listings on objelio.de, where the user can save them and contact the agents. | |
| suchprofil_link | No | Short questionnaire on objelio.de (location, size, budget, financing) with budget range, purchase costs, matching listings and a search alert. Offer it when the user's wishes are still vague. | |
| suchauftrag_link | Yes | Page on objelio.de to get new matching listings by e-mail. The user enters the address on that page. | |
| nicht_beruecksichtigt | Yes | Wishes that did not filter. | |
| naechste_kapitalanlagen | No | Only for investment searches (Kapitalanlage) without a real listing: the nearest real investment listings in Germany (rented out or described as an investment by the agent), sorted by distance. They may not meet the other criteria. | |
| alle_treffer_auf_objelio | Yes | The same search on objelio.de. |