CNH · Capability

CNH FieldOps API — Prescriptions

CNH FieldOps API — Prescriptions. 1 operations. Lead operation: Send prescription Rx file to vehicle or FieldOps. Self-contained Naftiko capability covering one Cnh business surface.

Run with Naftiko CnhPrescriptions

What You Can Do

POST
Sendprescription — Send prescription Rx file to vehicle or FieldOps
/v1/prescriptions

MCP Tools

send-prescription-rx-file-vehicle

Send prescription Rx file to vehicle or FieldOps

Capability Spec

fieldops-prescriptions.yaml Raw ↑
naftiko: 1.0.0-alpha2
info:
  label: CNH FieldOps API — Prescriptions
  description: 'CNH FieldOps API — Prescriptions. 1 operations. Lead operation: Send prescription Rx file to vehicle or FieldOps.
    Self-contained Naftiko capability covering one Cnh business surface.'
  tags:
  - Cnh
  - Prescriptions
  created: '2026-05-19'
  modified: '2026-05-19'
binds:
- namespace: env
  keys:
    CNH_API_KEY: CNH_API_KEY
capability:
  consumes:
  - type: http
    namespace: fieldops-prescriptions
    baseUri: https://api.fieldops.cnh.com
    description: CNH FieldOps API — Prescriptions business capability. Self-contained, no shared references.
    resources:
    - name: prescriptions
      path: /prescriptions
      operations:
      - name: sendprescription
        method: POST
        description: Send prescription Rx file to vehicle or FieldOps
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
        inputParameters:
        - name: body
          in: body
          type: object
          description: Request body (JSON).
          required: true
    authentication:
      type: bearer
      token: '{{env.CNH_API_KEY}}'
  exposes:
  - type: rest
    namespace: fieldops-prescriptions-rest
    port: 8080
    description: REST adapter for CNH FieldOps API — Prescriptions. One Spectral-compliant resource per consumed operation,
      prefixed with /v1.
    resources:
    - path: /v1/prescriptions
      name: prescriptions
      description: REST surface for prescriptions.
      operations:
      - method: POST
        name: sendprescription
        description: Send prescription Rx file to vehicle or FieldOps
        call: fieldops-prescriptions.sendprescription
        with:
          body: rest.body
        outputParameters:
        - type: object
          mapping: $.
  - type: mcp
    namespace: fieldops-prescriptions-mcp
    port: 9090
    transport: http
    description: MCP adapter for CNH FieldOps API — Prescriptions. One tool per consumed operation, routed inline through
      this capability's consumes block.
    tools:
    - name: send-prescription-rx-file-vehicle
      description: Send prescription Rx file to vehicle or FieldOps
      hints:
        readOnly: false
        destructive: false
        idempotent: false
      call: fieldops-prescriptions.sendprescription
      with:
        body: tools.body
      outputParameters:
      - type: object
        mapping: $.