search_cities
Find cities by name, with optional two-letter country code filtering, to retrieve matching locations from geographic data.
Instructions
Search for cities by name and optionally filter by country.
Args:
name: City name to search for (partial matches allowed)
country_code: Two-letter country code to filter by (optional)
Returns:
List of cities matching the search criteria
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_cities"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| name | No | ||
| country_code | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |