Get Units of a Building (Spain)
get_unitsEvery unit (dwelling, shop, garage, storage) of a Spanish building (finca), up to 200 per page, with stair, floor, door, use, area, participation coefficient and year. Spain only: ES (14-character finca reference, e.g. from search_address), PV (Basque Country) and NA (Navarre) with the foral reference of any unit or the finca key; the foral data carry no participation coefficient. When truncated is true, call again with cursor = next_cursor. Costs one quota unit per unit served (minimum 1 per page), so a 120-dwelling building costs 120 units; repeat pages within the plan's per-finca cap (Startup/Growth contracts) are free.
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": {
"reference": "<reference>"
},
"name": "get_units"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| cursor | No | next_cursor of the previous page | |
| country | No | ES (default), PV or NA. Optional for foral references detected by their shape | |
| reference | Yes | ES: 14-character finca reference. PV/NA: foral unit reference or finca key |