Handwrite IO · Capability

Handwrite IO API — Orders

Handwrite IO API — Orders. 1 operations. Lead operation: Get an Order. Self-contained Naftiko capability covering one Handwrite Io business surface.

Run with Naftiko Handwrite IoOrders

What You Can Do

GET
Getorder — Get an Order
/v1/order/{orderid}

MCP Tools

get-order

Get an Order

read-only idempotent

Capability Spec

handwrite-io-orders.yaml Raw ↑
naftiko: 1.0.0-alpha2
info:
  label: Handwrite IO API — Orders
  description: 'Handwrite IO API — Orders. 1 operations. Lead operation: Get an Order. Self-contained Naftiko capability covering
    one Handwrite Io business surface.'
  tags:
  - Handwrite Io
  - Orders
  created: '2026-05-19'
  modified: '2026-05-19'
binds:
- namespace: env
  keys:
    HANDWRITE_IO_API_KEY: HANDWRITE_IO_API_KEY
capability:
  consumes:
  - type: http
    namespace: handwrite-io-orders
    baseUri: https://api.handwrite.io/v1
    description: Handwrite IO API — Orders business capability. Self-contained, no shared references.
    resources:
    - name: order-orderId
      path: /order/{orderId}
      operations:
      - name: getorder
        method: GET
        description: Get an Order
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
        inputParameters:
        - name: orderId
          in: path
          type: string
          required: true
    authentication:
      type: apikey
      key: Authorization
      value: '{{env.HANDWRITE_IO_API_KEY}}'
      placement: header
  exposes:
  - type: rest
    namespace: handwrite-io-orders-rest
    port: 8080
    description: REST adapter for Handwrite IO API — Orders. One Spectral-compliant resource per consumed operation, prefixed
      with /v1.
    resources:
    - path: /v1/order/{orderid}
      name: order-orderid
      description: REST surface for order-orderId.
      operations:
      - method: GET
        name: getorder
        description: Get an Order
        call: handwrite-io-orders.getorder
        with:
          orderId: rest.orderId
        outputParameters:
        - type: object
          mapping: $.
  - type: mcp
    namespace: handwrite-io-orders-mcp
    port: 9090
    transport: http
    description: MCP adapter for Handwrite IO API — Orders. One tool per consumed operation, routed inline through this capability's
      consumes block.
    tools:
    - name: get-order
      description: Get an Order
      hints:
        readOnly: true
        destructive: false
        idempotent: true
      call: handwrite-io-orders.getorder
      with:
        orderId: tools.orderId
      outputParameters:
      - type: object
        mapping: $.