Lab #2 Two chained live APIs / Written decision rule
Chained tools: Open-Meteo geocode then forecast. The page shows the exact request URLs and trimmed JSON at each step, with a saved-example fallback if the API is blocked. The page plays the agent's part with a fixed script; no AI model runs here.
- What you can do
- Search a city or coordinates, chain an Open-Meteo geocoding lookup into a 6-hour rain forecast, or switch to the saved offline example.
- What you will see
- Exact request URLs and trimmed JSON replies for both tools (1. Geocode to 2. Forecast to 3. Decide) plus the threshold rule that answers yes, no, or maybe.
- Where to start
- Inspect the default Seattle chain, try another city, or open the printable student handout.
API answered as expected on 2026-12-05 (UTC).
Requests and technical details
API GET https://api.open-meteo.com/v1/forecast?latitude=47.60621&longitude=-122.33207&hourly=precipitation_probability,precipitation&forecast_hours=6&timezone=auto
Open-Meteo geocoding GET https://geocoding-api.open-meteo.com/v1/search?name=Seattle&count=1&language=en&format=json
CORS origin under test https://simoneresearch.com