{"name":"current-weather-city","description":"Looks up current weather conditions for any named city, worldwide, without requiring latitude and longitude coordinates. Send a city name plus an optional two-letter country_code, units (metric or imperial), and forecast_days; the endpoint geocodes the place name against Open-Meteo, picks the best-scoring match (favoring capitals and larger populations when a country code is given), and returns current conditions plus an optional hourly or daily forecast. The response includes resolved_location with coordinates and timezone, alternate place matches for disambiguation, and the forecast payload. Use it as a city weather lookup API, weather-by-city-name tool, or current conditions endpoint for travel agents, dispatch tools, and location-aware assistants.","price":"$0.01","method":"POST","input_schema":{"properties":{"city":{"type":"string","description":"City or place name."},"country_code":{"type":"string","description":"Optional two-letter ISO country code."},"units":{"type":"string","enum":["metric","imperial"],"description":"Unit system: 'metric' or 'imperial'. Passed through to the forecast backend."},"forecast_days":{"type":"number","description":"Number of forecast days to include. Default 1 (current conditions)."},"hourly":{"type":"boolean","description":"If true, includes hourly forecast data. Default false."}},"required":["city"]},"input_example":{"city":"Tokyo","country_code":"JP","units":"metric"},"output_example":{"query":"Tokyo","resolved_location":{"name":"Tokyo","country_code":"JP"},"current":{"temperature":24}},"x402_payment_required":true,"x402_facilitator":"https://api.cdp.coinbase.com/platform/v2/x402"}