v1weather
Get weather data for any location using coordinates, zip code, city, state, or country parameters through the API Ninjas Weather API.
Instructions
API Ninjas Weather API endpoint.
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": "v1weather"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| lat | No | Latitude of desired location. If used, lon parameter must also be supplied. | 0 |
| lon | No | Longitude of desired location. If used, lat parameter must also be supplied. | |
| zip | No | 5-digit Zip code (United States only). | 0 |
| city | No | City name. | |
| state | No | US state (United States only). | |
| country | No | Country name. |