query_openweather
Retrieve weather data from OpenWeather API by specifying endpoints and parameters for current conditions or forecasts.
Instructions
Make a raw query to the OpenWeather API (requires OPENWEATHER_API_KEY).
Args:
endpoint: API endpoint (e.g., '/data/2.5/weather', '/data/2.5/forecast')
params: Query parameters (appid will be added automatically)
Returns:
Raw JSON response from OpenWeather API
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"endpoint": "<endpoint>"
},
"name": "query_openweather"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| endpoint | Yes | ||
| params | No |