get_sublocations
Retrieve sublocations inside a specified location by providing location ID, country code, property type, and operation to filter property totals.
Instructions
Get sublocations inside another location.
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": {
"locationId": "<locationId>",
"location": "<location>",
"propertyType": "<propertyType>",
"operation": "<operation>"
},
"name": "get_sublocations"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| location | Yes | One of the following values: es|pt|it | |
| operation | Yes | Changes the 'total' field which indicates the number of properties with this operation. | |
| locationId | Yes | Location Id that has the flag divisible=true. | |
| propertyType | Yes | Changes the 'total' field which indicates the number of properties of this type. Note: bedrooms only works with rent operation. |