CAST AI · Capability

CAST AI Kubernetes Cost Optimization API — Inventory

CAST AI Kubernetes Cost Optimization API — Inventory. 1 operations. Lead operation: CAST AI Add to blacklist. Self-contained Naftiko capability covering one Cast Ai business surface.

Run with Naftiko Cast AiInventory

What You Can Do

POST
Inventoryblacklistapiaddblacklist — CAST AI Add to blacklist
/v1/inventory/blacklist/add

MCP Tools

cast-ai-add-blacklist

CAST AI Add to blacklist

Capability Spec

kubernetes-cost-optimization-inventory.yaml Raw ↑
naftiko: 1.0.0-alpha2
info:
  label: CAST AI Kubernetes Cost Optimization API — Inventory
  description: 'CAST AI Kubernetes Cost Optimization API — Inventory. 1 operations. Lead operation: CAST AI Add to blacklist.
    Self-contained Naftiko capability covering one Cast Ai business surface.'
  tags:
  - Cast Ai
  - Inventory
  created: '2026-05-19'
  modified: '2026-05-19'
binds:
- namespace: env
  keys:
    CAST_AI_API_KEY: CAST_AI_API_KEY
capability:
  consumes:
  - type: http
    namespace: kubernetes-cost-optimization-inventory
    baseUri: https://api.cast.ai/v1
    description: CAST AI Kubernetes Cost Optimization API — Inventory business capability. Self-contained, no shared references.
    resources:
    - name: inventory-blacklist-add
      path: /inventory/blacklist/add
      operations:
      - name: inventoryblacklistapiaddblacklist
        method: POST
        description: CAST AI Add to blacklist
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
        inputParameters:
        - name: body
          in: body
          type: object
          description: Request body (JSON).
          required: true
    authentication:
      type: apikey
      key: X-API-Key
      value: '{{env.CAST_AI_API_KEY}}'
      placement: header
  exposes:
  - type: rest
    namespace: kubernetes-cost-optimization-inventory-rest
    port: 8080
    description: REST adapter for CAST AI Kubernetes Cost Optimization API — Inventory. One Spectral-compliant resource per
      consumed operation, prefixed with /v1.
    resources:
    - path: /v1/inventory/blacklist/add
      name: inventory-blacklist-add
      description: REST surface for inventory-blacklist-add.
      operations:
      - method: POST
        name: inventoryblacklistapiaddblacklist
        description: CAST AI Add to blacklist
        call: kubernetes-cost-optimization-inventory.inventoryblacklistapiaddblacklist
        with:
          body: rest.body
        outputParameters:
        - type: object
          mapping: $.
  - type: mcp
    namespace: kubernetes-cost-optimization-inventory-mcp
    port: 9090
    transport: http
    description: MCP adapter for CAST AI Kubernetes Cost Optimization API — Inventory. One tool per consumed operation, routed
      inline through this capability's consumes block.
    tools:
    - name: cast-ai-add-blacklist
      description: CAST AI Add to blacklist
      hints:
        readOnly: false
        destructive: false
        idempotent: false
      call: kubernetes-cost-optimization-inventory.inventoryblacklistapiaddblacklist
      with:
        body: tools.body
      outputParameters:
      - type: object
        mapping: $.