Tomorrow.io · Capability

Tomorrow.io Weather API — Historical

Historical surface of the Tomorrow.io Weather API. 1 operations. Lead operation: Tomorrow.io Post Historical Timeline. Self-contained Naftiko capability covering one Tomorrow.io business surface.

Run with Naftiko Tomorrow.ioWeatherHistorical

What You Can Do

POST
Posthistoricaltimeline — Tomorrow.io Post Historical Timeline
/v1/historical

MCP Tools

io-post-historical-timeline

Tomorrow.io Post Historical Timeline

Capability Spec

tomorrow-historical.yaml Raw ↑
naftiko: 1.0.0-alpha2
info:
  label: Tomorrow.io Weather API — Historical
  description: 'Historical surface of the Tomorrow.io Weather API. 1 operations. Lead operation: Tomorrow.io Post Historical Timeline. Self-contained Naftiko capability covering one Tomorrow.io business
    surface.'
  tags:
  - Tomorrow.io
  - Weather
  - Historical
  created: '2026-05-30'
  modified: '2026-05-30'
binds:
- namespace: env
  keys:
    TOMORROW_API_KEY: TOMORROW_API_KEY
capability:
  consumes:
  - type: http
    namespace: tomorrow-historical
    baseUri: https://api.tomorrow.io/v4
    description: Tomorrow.io Weather API — Historical business capability. Self-contained, no shared references.
    authentication:
      type: apikey
      key: apikey
      value: '{{env.TOMORROW_API_KEY}}'
      placement: query
    resources:
    - name: historical
      path: /historical
      operations:
      - name: postHistoricalTimeline
        method: POST
        description: Tomorrow.io Post Historical Timeline
        inputParameters:
        - name: body
          in: body
          type: object
          required: true
          description: Request body payload.
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
  exposes:
  - type: rest
    namespace: tomorrow-historical-rest
    port: 8080
    description: REST adapter for Tomorrow.io Weather API — Historical. One Spectral-compliant resource per consumed operation, prefixed with /v1.
    resources:
    - path: /v1/historical
      name: historical
      description: REST surface for historical.
      operations:
      - method: POST
        name: postHistoricalTimeline
        description: Tomorrow.io Post Historical Timeline
        call: tomorrow-historical.postHistoricalTimeline
        with:
          body: rest.body
        outputParameters:
        - type: object
          mapping: $.
  - type: mcp
    namespace: tomorrow-historical-mcp
    port: 9090
    transport: http
    description: MCP adapter for Tomorrow.io Weather API — Historical. One tool per consumed operation, routed inline through this capability's consumes block.
    tools:
    - name: io-post-historical-timeline
      description: Tomorrow.io Post Historical Timeline
      hints:
        readOnly: false
        destructive: false
        idempotent: false
      call: tomorrow-historical.postHistoricalTimeline
      with:
        body: tools.body
      outputParameters:
      - type: object
        mapping: $.