TM Forum · Capability

ProductInventory — events subscription

ProductInventory — events subscription. 2 operations. Lead operation: TM Forum Create a Subscription (hub) to Receive Events. Self-contained Naftiko capability covering one Tm Forum business surface.

Run with Naftiko Tm Forumevents subscription

What You Can Do

POST
Createhub — TM Forum Create a Subscription (hub) to Receive Events
/v1/hub
DELETE
Hubdelete — TM Forum Remove a Subscription (hub) to Receive Events
/v1/hub/{id}

MCP Tools

tm-forum-create-subscription-hub

TM Forum Create a Subscription (hub) to Receive Events

tm-forum-remove-subscription-hub

TM Forum Remove a Subscription (hub) to Receive Events

idempotent

Capability Spec

tmf637-product-inventory-events-subscription.yaml Raw ↑
naftiko: 1.0.0-alpha2
info:
  label: ProductInventory — events subscription
  description: 'ProductInventory — events subscription. 2 operations. Lead operation: TM Forum Create a Subscription (hub)
    to Receive Events. Self-contained Naftiko capability covering one Tm Forum business surface.'
  tags:
  - Tm Forum
  - events subscription
  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-events-subscription
    baseUri: https://serverRoot
    description: ProductInventory — events subscription business capability. Self-contained, no shared references.
    resources:
    - name: hub
      path: /hub
      operations:
      - name: createhub
        method: POST
        description: TM Forum Create a Subscription (hub) to Receive Events
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
        inputParameters:
        - name: body
          in: body
          type: object
          description: Request body (JSON).
          required: false
    - name: hub-id
      path: /hub/{id}
      operations:
      - name: hubdelete
        method: DELETE
        description: TM Forum Remove a Subscription (hub) to Receive Events
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
  exposes:
  - type: rest
    namespace: tmf637-product-inventory-events-subscription-rest
    port: 8080
    description: REST adapter for ProductInventory — events subscription. One Spectral-compliant resource per consumed operation,
      prefixed with /v1.
    resources:
    - path: /v1/hub
      name: hub
      description: REST surface for hub.
      operations:
      - method: POST
        name: createhub
        description: TM Forum Create a Subscription (hub) to Receive Events
        call: tmf637-product-inventory-events-subscription.createhub
        with:
          body: rest.body
        outputParameters:
        - type: object
          mapping: $.
    - path: /v1/hub/{id}
      name: hub-id
      description: REST surface for hub-id.
      operations:
      - method: DELETE
        name: hubdelete
        description: TM Forum Remove a Subscription (hub) to Receive Events
        call: tmf637-product-inventory-events-subscription.hubdelete
        outputParameters:
        - type: object
          mapping: $.
  - type: mcp
    namespace: tmf637-product-inventory-events-subscription-mcp
    port: 9090
    transport: http
    description: MCP adapter for ProductInventory — events subscription. One tool per consumed operation, routed inline through
      this capability's consumes block.
    tools:
    - name: tm-forum-create-subscription-hub
      description: TM Forum Create a Subscription (hub) to Receive Events
      hints:
        readOnly: false
        destructive: false
        idempotent: false
      call: tmf637-product-inventory-events-subscription.createhub
      with:
        body: tools.body
      outputParameters:
      - type: object
        mapping: $.
    - name: tm-forum-remove-subscription-hub
      description: TM Forum Remove a Subscription (hub) to Receive Events
      hints:
        readOnly: false
        destructive: true
        idempotent: true
      call: tmf637-product-inventory-events-subscription.hubdelete
      outputParameters:
      - type: object
        mapping: $.