naftiko: 1.0.0-alpha2 info: label: Tomorrow.io Weather API — Forecast description: 'Forecast surface of the Tomorrow.io Weather API. 1 operations. Lead operation: Tomorrow.io Get Weather Forecast. Self-contained Naftiko capability covering one Tomorrow.io business surface.' tags: - Tomorrow.io - Weather - Forecast created: '2026-05-30' modified: '2026-05-30' binds: - namespace: env keys: TOMORROW_API_KEY: TOMORROW_API_KEY capability: consumes: - type: http namespace: tomorrow-forecast baseUri: https://api.tomorrow.io/v4 description: Tomorrow.io Weather API — Forecast business capability. Self-contained, no shared references. authentication: type: apikey key: apikey value: '{{env.TOMORROW_API_KEY}}' placement: query resources: - name: weather-forecast path: /weather/forecast operations: - name: getWeatherForecast method: GET description: Tomorrow.io Get Weather Forecast inputParameters: - name: location in: query type: string required: true description: Place name, latlong array, GeoJSON, or saved location ID. - name: timesteps in: query type: array required: false description: Comma-separated forecast resolutions. - name: units in: query type: string required: false description: units outputRawFormat: json outputParameters: - name: result type: object value: $. exposes: - type: rest namespace: tomorrow-forecast-rest port: 8080 description: REST adapter for Tomorrow.io Weather API — Forecast. One Spectral-compliant resource per consumed operation, prefixed with /v1. resources: - path: /v1/weather/forecast name: weather-forecast description: REST surface for weather-forecast. operations: - method: GET name: getWeatherForecast description: Tomorrow.io Get Weather Forecast call: tomorrow-forecast.getWeatherForecast with: location: rest.location timesteps: rest.timesteps units: rest.units outputParameters: - type: object mapping: $. - type: mcp namespace: tomorrow-forecast-mcp port: 9090 transport: http description: MCP adapter for Tomorrow.io Weather API — Forecast. One tool per consumed operation, routed inline through this capability's consumes block. tools: - name: io-get-weather-forecast description: Tomorrow.io Get Weather Forecast hints: readOnly: true destructive: false idempotent: true call: tomorrow-forecast.getWeatherForecast with: location: tools.location timesteps: tools.timesteps units: tools.units outputParameters: - type: object mapping: $.