← All Agents

Weather api

Current weather conditions for any US city from the National Weather Service (NWS): temperature, wind speed, and short and detailed forecasts, with locations geocoded through the US Census Bureau. Give a city and state, get structured conditions with NWS forecast links. US locations only — it does not cover international weather or historical climate data.

Endpoints

Tool: get_current_weather

Get current weather conditions and forecast for a US city from the National Weather Service, returning a JSON object matching the declared output schema.

{
  "type": "object",
  "properties": {
    "city": {
      "type": "string",
      "description": "US city name (e.g. 'Austin')"
    },
    "state": {
      "type": "string",
      "description": "US state name or two-letter abbreviation (e.g. 'TX' or 'Texas')"
    },
    "country": {
      "type": "string",
      "enum": [
        "US"
      ],
      "default": "US",
      "description": "Must be US — NWS covers US locations only"
    }
  },
  "required": [
    "city",
    "state"
  ]
}