naftiko: 1.0.0-alpha2 info: label: Weatherbit - Interactive Swagger UI Documentation — 16 Day / Daily Forecast description: 'Weatherbit - Interactive Swagger UI Documentation — 16 Day / Daily Forecast. 1 operations. Lead operation: Weatherbit Returns a Daily Forecast - Given Lat/Lon.. Self-contained Naftiko capability covering one Weatherbit business surface.' tags: - Weatherbit - 16 Day / Daily Forecast created: '2026-05-19' modified: '2026-05-19' binds: - namespace: env keys: WEATHERBIT_API_KEY: WEATHERBIT_API_KEY capability: consumes: - type: http namespace: current-weather-16-day-daily-forecast baseUri: https://api.weatherbit.io/v2.0 description: Weatherbit - Interactive Swagger UI Documentation — 16 Day / Daily Forecast business capability. Self-contained, no shared references. resources: - name: forecast-daily path: /forecast/daily operations: - name: get method: GET description: Weatherbit Returns a Daily Forecast - Given Lat/Lon. outputRawFormat: json outputParameters: - name: result type: object value: $. inputParameters: - name: lat in: query type: number description: Latitude component of location. - name: lon in: query type: number description: Longitude component of location. - name: city_id in: query type: string description: 'City ID. Example: 4487042' - name: city in: query type: string description: City search.. Example - &city=Raleigh,NC or &city=Berlin,DE or city=Paris&country=FR - name: postal_code in: query type: string description: 'Postal Code. Example: 28546' - name: country in: query type: string description: Country Code (2 letter) - to be used with postal_code. - name: station in: query type: string description: Station Call ID. - name: days in: query type: number description: Number of days to return. Default 16. - name: units in: query type: string description: Convert to units. Default Metric See units field description - name: lang in: query type: string description: 'Language (Default: English) See language field description' - name: key in: query type: string description: Your registered API key. required: true exposes: - type: rest namespace: current-weather-16-day-daily-forecast-rest port: 8080 description: REST adapter for Weatherbit - Interactive Swagger UI Documentation — 16 Day / Daily Forecast. One Spectral-compliant resource per consumed operation, prefixed with /v1. resources: - path: /v1/forecast/daily name: forecast-daily description: REST surface for forecast-daily. operations: - method: GET name: get description: Weatherbit Returns a Daily Forecast - Given Lat/Lon. call: current-weather-16-day-daily-forecast.get with: lat: rest.lat lon: rest.lon city_id: rest.city_id city: rest.city postal_code: rest.postal_code country: rest.country station: rest.station days: rest.days units: rest.units lang: rest.lang key: rest.key outputParameters: - type: object mapping: $. - type: mcp namespace: current-weather-16-day-daily-forecast-mcp port: 9090 transport: http description: MCP adapter for Weatherbit - Interactive Swagger UI Documentation — 16 Day / Daily Forecast. One tool per consumed operation, routed inline through this capability's consumes block. tools: - name: weatherbit-returns-daily-forecast-given description: Weatherbit Returns a Daily Forecast - Given Lat/Lon. hints: readOnly: true destructive: false idempotent: true call: current-weather-16-day-daily-forecast.get with: lat: tools.lat lon: tools.lon city_id: tools.city_id city: tools.city postal_code: tools.postal_code country: tools.country station: tools.station days: tools.days units: tools.units lang: tools.lang key: tools.key outputParameters: - type: object mapping: $.