Search places
search_placesLooks up cities, regions and countries by name as someone types, e.g. Lisb or Ireland. Returns up to 6 candidates, each with name, country, kind (city, region or country), coordinates and a label such as Lisbon, Portugal. Reads only; creates nothing. The trip form's destination box calls it; call it yourself only to check a spelling before start_trip. Use get_city_guide to learn about a city, suggest_route to choose cities in a country.
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": {
"q": "<q>"
},
"name": "search_places"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| q | Yes | What was typed, at least 2 characters. | |
| limit | No | How many candidates, up to 6 (default 6). | |
| country_code | No | Only places in this country, ISO two-letter code, e.g. US; used for domestic trips. |