Tyson Foods · Capability

Tyson Foods EDI Integration API — Orders

Tyson Foods EDI Integration API — Orders. 2 operations. Lead operation: Get Orders. Self-contained Naftiko capability covering one Tyson Foods business surface.

Run with Naftiko Tyson FoodsOrders

What You Can Do

GET
Getorders — Get Orders
/v1/orders
GET
Getorderbyid — Get Order by ID
/v1/orders/{orderid}

MCP Tools

get-orders

Get Orders

read-only idempotent
get-order-id

Get Order by ID

read-only idempotent

Capability Spec

edi-integration-orders.yaml Raw ↑
naftiko: 1.0.0-alpha2
info:
  label: Tyson Foods EDI Integration API — Orders
  description: 'Tyson Foods EDI Integration API — Orders. 2 operations. Lead operation: Get Orders. Self-contained Naftiko
    capability covering one Tyson Foods business surface.'
  tags:
  - Tyson Foods
  - Orders
  created: '2026-05-19'
  modified: '2026-05-19'
binds:
- namespace: env
  keys:
    TYSON_FOODS_API_KEY: TYSON_FOODS_API_KEY
capability:
  consumes:
  - type: http
    namespace: edi-integration-orders
    baseUri: https://api.tysonfoods.com
    description: Tyson Foods EDI Integration API — Orders business capability. Self-contained, no shared references.
    resources:
    - name: orders
      path: /orders
      operations:
      - name: getorders
        method: GET
        description: Get Orders
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
    - name: orders-orderId
      path: /orders/{orderId}
      operations:
      - name: getorderbyid
        method: GET
        description: Get Order by ID
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
        inputParameters:
        - name: orderId
          in: path
          type: string
          required: true
  exposes:
  - type: rest
    namespace: edi-integration-orders-rest
    port: 8080
    description: REST adapter for Tyson Foods EDI Integration API — Orders. One Spectral-compliant resource per consumed operation,
      prefixed with /v1.
    resources:
    - path: /v1/orders
      name: orders
      description: REST surface for orders.
      operations:
      - method: GET
        name: getorders
        description: Get Orders
        call: edi-integration-orders.getorders
        outputParameters:
        - type: object
          mapping: $.
    - path: /v1/orders/{orderid}
      name: orders-orderid
      description: REST surface for orders-orderId.
      operations:
      - method: GET
        name: getorderbyid
        description: Get Order by ID
        call: edi-integration-orders.getorderbyid
        with:
          orderId: rest.orderId
        outputParameters:
        - type: object
          mapping: $.
  - type: mcp
    namespace: edi-integration-orders-mcp
    port: 9090
    transport: http
    description: MCP adapter for Tyson Foods EDI Integration API — Orders. One tool per consumed operation, routed inline
      through this capability's consumes block.
    tools:
    - name: get-orders
      description: Get Orders
      hints:
        readOnly: true
        destructive: false
        idempotent: true
      call: edi-integration-orders.getorders
      outputParameters:
      - type: object
        mapping: $.
    - name: get-order-id
      description: Get Order by ID
      hints:
        readOnly: true
        destructive: false
        idempotent: true
      call: edi-integration-orders.getorderbyid
      with:
        orderId: tools.orderId
      outputParameters:
      - type: object
        mapping: $.