rank_for_two
Rank Warsaw neighborhoods for two people who work in two places (para, dwa biura): median rent, both commutes and monthly_cost (rent + both commutes valued at the minimum wage). Each person can use a different mode. Neighborhoods with fewer than 20 ads are skipped.
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": {
"a_lat": "<a_lat>",
"a_lon": "<a_lon>",
"b_lat": "<b_lat>",
"b_lon": "<b_lon>"
},
"name": "rank_for_two"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| sort | No | best = rent + both commutes valued at the minimum wage (default); fair = shortest longer commute first; rent = cheapest first | best |
| a_lat | Yes | Latitude, WGS84, 51.98-52.48 (Warszawa and commuter belt) | |
| a_lon | Yes | Longitude, WGS84, 20.62-21.48 (Warszawa and commuter belt) | |
| b_lat | Yes | Latitude, WGS84, 51.98-52.48 (Warszawa and commuter belt) | |
| b_lon | Yes | Longitude, WGS84, 20.62-21.48 (Warszawa and commuter belt) | |
| limit | No | ||
| rooms | No | Rooms 1-4 (4 = 4+); omit for any / liczba pokoi | |
| mode_a | No | transit (default, weekday morning public transport + walking), bike, walk or car (rush hour) / komunikacja, rower, pieszo, auto | transit |
| mode_b | No | transit (default, weekday morning public transport + walking), bike, walk or car (rush hour) / komunikacja, rower, pieszo, auto | transit |
| max_rent | No | Max neighborhood median rent, PLN/month | |
| max_commute_min | No | Max commute minutes for each person |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||