TM Forum · Capability

ProductInventory — product

ProductInventory — product. 5 operations. Lead operation: TM Forum List or Find Product Objects. Self-contained Naftiko capability covering one Tm Forum business surface.

Run with Naftiko Tm Forumproduct

What You Can Do

GET
Listproduct — TM Forum List or Find Product Objects
/v1/product
POST
Createproduct — TM Forum Creates a Product
/v1/product
GET
Retrieveproduct — TM Forum Retrieves a Product by ID
/v1/product/{id}
DELETE
Deleteproduct — TM Forum Deletes a Product
/v1/product/{id}
PATCH
Patchproduct — TM Forum Updates Partially a Product
/v1/product/{id}

MCP Tools

tm-forum-list-find-product

TM Forum List or Find Product Objects

read-only idempotent
tm-forum-creates-product

TM Forum Creates a Product

tm-forum-retrieves-product-id

TM Forum Retrieves a Product by ID

read-only idempotent
tm-forum-deletes-product

TM Forum Deletes a Product

idempotent
tm-forum-updates-partially-product

TM Forum Updates Partially a Product

idempotent

Capability Spec

tmf637-product-inventory-product.yaml Raw ↑
naftiko: 1.0.0-alpha2
info:
  label: ProductInventory — product
  description: 'ProductInventory — product. 5 operations. Lead operation: TM Forum List or Find Product Objects. Self-contained
    Naftiko capability covering one Tm Forum business surface.'
  tags:
  - Tm Forum
  - product
  created: '2026-05-19'
  modified: '2026-05-19'
binds:
- namespace: env
  keys:
    TM_FORUM_API_KEY: TM_FORUM_API_KEY
capability:
  consumes:
  - type: http
    namespace: tmf637-product-inventory-product
    baseUri: https://serverRoot
    description: ProductInventory — product business capability. Self-contained, no shared references.
    resources:
    - name: product
      path: /product
      operations:
      - name: listproduct
        method: GET
        description: TM Forum List or Find Product Objects
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
      - name: createproduct
        method: POST
        description: TM Forum Creates a Product
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
        inputParameters:
        - name: body
          in: body
          type: object
          description: Request body (JSON).
          required: false
    - name: product-id
      path: /product/{id}
      operations:
      - name: retrieveproduct
        method: GET
        description: TM Forum Retrieves a Product by ID
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
      - name: deleteproduct
        method: DELETE
        description: TM Forum Deletes a Product
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
      - name: patchproduct
        method: PATCH
        description: TM Forum Updates Partially a Product
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
        inputParameters:
        - name: body
          in: body
          type: object
          description: Request body (JSON).
          required: false
  exposes:
  - type: rest
    namespace: tmf637-product-inventory-product-rest
    port: 8080
    description: REST adapter for ProductInventory — product. One Spectral-compliant resource per consumed operation, prefixed
      with /v1.
    resources:
    - path: /v1/product
      name: product
      description: REST surface for product.
      operations:
      - method: GET
        name: listproduct
        description: TM Forum List or Find Product Objects
        call: tmf637-product-inventory-product.listproduct
        outputParameters:
        - type: object
          mapping: $.
      - method: POST
        name: createproduct
        description: TM Forum Creates a Product
        call: tmf637-product-inventory-product.createproduct
        with:
          body: rest.body
        outputParameters:
        - type: object
          mapping: $.
    - path: /v1/product/{id}
      name: product-id
      description: REST surface for product-id.
      operations:
      - method: GET
        name: retrieveproduct
        description: TM Forum Retrieves a Product by ID
        call: tmf637-product-inventory-product.retrieveproduct
        outputParameters:
        - type: object
          mapping: $.
      - method: DELETE
        name: deleteproduct
        description: TM Forum Deletes a Product
        call: tmf637-product-inventory-product.deleteproduct
        outputParameters:
        - type: object
          mapping: $.
      - method: PATCH
        name: patchproduct
        description: TM Forum Updates Partially a Product
        call: tmf637-product-inventory-product.patchproduct
        with:
          body: rest.body
        outputParameters:
        - type: object
          mapping: $.
  - type: mcp
    namespace: tmf637-product-inventory-product-mcp
    port: 9090
    transport: http
    description: MCP adapter for ProductInventory — product. One tool per consumed operation, routed inline through this capability's
      consumes block.
    tools:
    - name: tm-forum-list-find-product
      description: TM Forum List or Find Product Objects
      hints:
        readOnly: true
        destructive: false
        idempotent: true
      call: tmf637-product-inventory-product.listproduct
      outputParameters:
      - type: object
        mapping: $.
    - name: tm-forum-creates-product
      description: TM Forum Creates a Product
      hints:
        readOnly: false
        destructive: false
        idempotent: false
      call: tmf637-product-inventory-product.createproduct
      with:
        body: tools.body
      outputParameters:
      - type: object
        mapping: $.
    - name: tm-forum-retrieves-product-id
      description: TM Forum Retrieves a Product by ID
      hints:
        readOnly: true
        destructive: false
        idempotent: true
      call: tmf637-product-inventory-product.retrieveproduct
      outputParameters:
      - type: object
        mapping: $.
    - name: tm-forum-deletes-product
      description: TM Forum Deletes a Product
      hints:
        readOnly: false
        destructive: true
        idempotent: true
      call: tmf637-product-inventory-product.deleteproduct
      outputParameters:
      - type: object
        mapping: $.
    - name: tm-forum-updates-partially-product
      description: TM Forum Updates Partially a Product
      hints:
        readOnly: false
        destructive: false
        idempotent: true
      call: tmf637-product-inventory-product.patchproduct
      with:
        body: tools.body
      outputParameters:
      - type: object
        mapping: $.