CNH · Capability

CNH FieldOps API — Equipment

CNH FieldOps API — Equipment. 2 operations. Lead operation: List equipment. Self-contained Naftiko capability covering one Cnh business surface.

Run with Naftiko CnhEquipment

What You Can Do

GET
Listequipment — List equipment
/v1/equipment
GET
Getequipment — Get equipment by vehicle ID
/v1/equipment/{vehicleid}

MCP Tools

list-equipment

List equipment

read-only idempotent
get-equipment-vehicle-id

Get equipment by vehicle ID

read-only idempotent

Capability Spec

fieldops-equipment.yaml Raw ↑
naftiko: 1.0.0-alpha2
info:
  label: CNH FieldOps API — Equipment
  description: 'CNH FieldOps API — Equipment. 2 operations. Lead operation: List equipment. Self-contained Naftiko capability
    covering one Cnh business surface.'
  tags:
  - Cnh
  - Equipment
  created: '2026-05-19'
  modified: '2026-05-19'
binds:
- namespace: env
  keys:
    CNH_API_KEY: CNH_API_KEY
capability:
  consumes:
  - type: http
    namespace: fieldops-equipment
    baseUri: https://api.fieldops.cnh.com
    description: CNH FieldOps API — Equipment business capability. Self-contained, no shared references.
    resources:
    - name: equipment
      path: /equipment
      operations:
      - name: listequipment
        method: GET
        description: List equipment
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
        inputParameters:
        - name: brand
          in: query
          type: string
        - name: vehicleType
          in: query
          type: string
    - name: equipment-vehicleId
      path: /equipment/{vehicleId}
      operations:
      - name: getequipment
        method: GET
        description: Get equipment by vehicle ID
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
        inputParameters:
        - name: vehicleId
          in: path
          type: string
          required: true
    authentication:
      type: bearer
      token: '{{env.CNH_API_KEY}}'
  exposes:
  - type: rest
    namespace: fieldops-equipment-rest
    port: 8080
    description: REST adapter for CNH FieldOps API — Equipment. One Spectral-compliant resource per consumed operation, prefixed
      with /v1.
    resources:
    - path: /v1/equipment
      name: equipment
      description: REST surface for equipment.
      operations:
      - method: GET
        name: listequipment
        description: List equipment
        call: fieldops-equipment.listequipment
        with:
          brand: rest.brand
          vehicleType: rest.vehicleType
        outputParameters:
        - type: object
          mapping: $.
    - path: /v1/equipment/{vehicleid}
      name: equipment-vehicleid
      description: REST surface for equipment-vehicleId.
      operations:
      - method: GET
        name: getequipment
        description: Get equipment by vehicle ID
        call: fieldops-equipment.getequipment
        with:
          vehicleId: rest.vehicleId
        outputParameters:
        - type: object
          mapping: $.
  - type: mcp
    namespace: fieldops-equipment-mcp
    port: 9090
    transport: http
    description: MCP adapter for CNH FieldOps API — Equipment. One tool per consumed operation, routed inline through this
      capability's consumes block.
    tools:
    - name: list-equipment
      description: List equipment
      hints:
        readOnly: true
        destructive: false
        idempotent: true
      call: fieldops-equipment.listequipment
      with:
        brand: tools.brand
        vehicleType: tools.vehicleType
      outputParameters:
      - type: object
        mapping: $.
    - name: get-equipment-vehicle-id
      description: Get equipment by vehicle ID
      hints:
        readOnly: true
        destructive: false
        idempotent: true
      call: fieldops-equipment.getequipment
      with:
        vehicleId: tools.vehicleId
      outputParameters:
      - type: object
        mapping: $.