{
"skill_id": "weather_api",
"version": "1.0.0",
"description": "Real-time weather data for any city",
"brand": {
"name": "Weather",
"icon": "cloud",
"primary_color": "#3b82f6"
},
"auth": {
"type": "api_key",
"api_key_header": "X-API-Key"
},
"endpoints": [
{
"id": "current",
"method": "GET",
"url": "https://api.weather.example/current",
"description": "Get current weather for a city. The LLM reads this to decide when to use the tool.",
"params": [
{ "name": "city", "type": "string", "required": true, "description": "City name" },
{ "name": "units", "type": "string", "required": false, "description": "celsius or fahrenheit" }
]
},
{
"id": "forecast",
"method": "GET",
"url": "https://api.weather.example/forecast",
"description": "Get a 5-day forecast",
"params": [
{ "name": "city", "type": "string", "required": true }
]
}
],
"trigger_phrases": ["weather", "temperature", "forecast"],
"categories": ["weather", "utility"]
}