Climate FieldView · Capability

Climate FieldView Platform API — Harvest

Climate FieldView Platform API — Harvest. 2 operations. Lead operation: List as-harvested yield layers. Self-contained Naftiko capability covering one Climate Fieldview business surface.

Run with Naftiko Climate FieldviewHarvest

What You Can Do

GET
Listasharvestedlayers — List as-harvested yield layers
/v1/v4/layers/asharvested
GET
Getasharvestedlayer — Get a specific as-harvested layer
/v1/v4/layers/asharvested/{layerid}

MCP Tools

list-harvested-yield-layers

List as-harvested yield layers

read-only idempotent
get-specific-harvested-layer

Get a specific as-harvested layer

read-only idempotent

Capability Spec

platform-harvest.yaml Raw ↑
naftiko: 1.0.0-alpha2
info:
  label: Climate FieldView Platform API — Harvest
  description: 'Climate FieldView Platform API — Harvest. 2 operations. Lead operation: List as-harvested yield layers. Self-contained
    Naftiko capability covering one Climate Fieldview business surface.'
  tags:
  - Climate Fieldview
  - Harvest
  created: '2026-05-19'
  modified: '2026-05-19'
binds:
- namespace: env
  keys:
    CLIMATE_FIELDVIEW_API_KEY: CLIMATE_FIELDVIEW_API_KEY
capability:
  consumes:
  - type: http
    namespace: platform-harvest
    baseUri: https://api.climate.com/api
    description: Climate FieldView Platform API — Harvest business capability. Self-contained, no shared references.
    resources:
    - name: v4-layers-asHarvested
      path: /v4/layers/asHarvested
      operations:
      - name: listasharvestedlayers
        method: GET
        description: List as-harvested yield layers
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
        inputParameters:
        - name: fieldId
          in: query
          type: string
        - name: occurredBefore
          in: query
          type: string
        - name: occurredAfter
          in: query
          type: string
        - name: updatedAfter
          in: query
          type: string
        - name: limit
          in: query
          type: integer
    - name: v4-layers-asHarvested-layerId
      path: /v4/layers/asHarvested/{layerId}
      operations:
      - name: getasharvestedlayer
        method: GET
        description: Get a specific as-harvested layer
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
        inputParameters:
        - name: layerId
          in: path
          type: string
          required: true
    authentication:
      type: bearer
      token: '{{env.CLIMATE_FIELDVIEW_API_KEY}}'
  exposes:
  - type: rest
    namespace: platform-harvest-rest
    port: 8080
    description: REST adapter for Climate FieldView Platform API — Harvest. One Spectral-compliant resource per consumed operation,
      prefixed with /v1.
    resources:
    - path: /v1/v4/layers/asharvested
      name: v4-layers-asharvested
      description: REST surface for v4-layers-asHarvested.
      operations:
      - method: GET
        name: listasharvestedlayers
        description: List as-harvested yield layers
        call: platform-harvest.listasharvestedlayers
        with:
          fieldId: rest.fieldId
          occurredBefore: rest.occurredBefore
          occurredAfter: rest.occurredAfter
          updatedAfter: rest.updatedAfter
          limit: rest.limit
        outputParameters:
        - type: object
          mapping: $.
    - path: /v1/v4/layers/asharvested/{layerid}
      name: v4-layers-asharvested-layerid
      description: REST surface for v4-layers-asHarvested-layerId.
      operations:
      - method: GET
        name: getasharvestedlayer
        description: Get a specific as-harvested layer
        call: platform-harvest.getasharvestedlayer
        with:
          layerId: rest.layerId
        outputParameters:
        - type: object
          mapping: $.
  - type: mcp
    namespace: platform-harvest-mcp
    port: 9090
    transport: http
    description: MCP adapter for Climate FieldView Platform API — Harvest. One tool per consumed operation, routed inline
      through this capability's consumes block.
    tools:
    - name: list-harvested-yield-layers
      description: List as-harvested yield layers
      hints:
        readOnly: true
        destructive: false
        idempotent: true
      call: platform-harvest.listasharvestedlayers
      with:
        fieldId: tools.fieldId
        occurredBefore: tools.occurredBefore
        occurredAfter: tools.occurredAfter
        updatedAfter: tools.updatedAfter
        limit: tools.limit
      outputParameters:
      - type: object
        mapping: $.
    - name: get-specific-harvested-layer
      description: Get a specific as-harvested layer
      hints:
        readOnly: true
        destructive: false
        idempotent: true
      call: platform-harvest.getasharvestedlayer
      with:
        layerId: tools.layerId
      outputParameters:
      - type: object
        mapping: $.