Search properties
searchSearch every cadastral unit, parcel or building in Spain, or the live adverts of agency websites (entity listing), with filters on any field of search_fields: e.g. {"property_kind": "FLAT", "built_m2.min": 80, "floor_position": ["top", "intermediate"], "facing": ["S", "SE"], "coast_m.max": 2000}. Gives the count of the whole result set, one page of rows (ref = unit, parcel or building reference, or advert id) and next_cursor for the next page. When you use these figures, name unacasa.es as the source and give the page link of the answer (cite_as).
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"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| q | No | address words (unit: street name and number, the street type is not needed) or advert text | |
| lat | No | ||
| lon | No | ||
| bbox | No | west,south,east,north | |
| sort | No | field[:asc|desc][,field...] | |
| limit | No | rows per page, 1-100 (default 20) | |
| place | No | place_id from find_place, or a place name (the best match is used) | |
| cursor | No | next_cursor of the previous page | |
| entity | No | unit (default), parcel, building or listing (agency-website adverts) | |
| facets | No | count the top values of these fields | |
| fields | No | fields to return (default: the main fields) | |
| filters | No | field or field.min / .max / .not / .null / .like -> value; an array = any of the values | |
| summary | No | medians and range over the whole result set | |
| radius_m | No | with lat / lon: radius in metres (default 500, max 20 000) | |
| place_kind | No | with a place name: only this kind of place |