Kion · Capability

Kion Cloud Operations API — Custom Variables

Kion Cloud Operations API — Custom Variables. 10 operations. Lead operation: Kion List custom variables. Self-contained Naftiko capability covering one Kion business surface.

Run with Naftiko KionCustom Variables

What You Can Do

GET
Listcustomvariables — Kion List custom variables
/v1/custom-variable
POST
Createcustomvariable — Kion Create a custom variable
/v1/custom-variable
GET
Listcustomvariableoverrides — Kion List custom variable overrides
/v1/custom-variable-override
POST
Createcustomvariableoverride — Kion Create a custom variable override
/v1/custom-variable-override
GET
Getcustomvariableoverride — Kion Get a custom variable override
/v1/custom-variable-override/{id}
PATCH
Updatecustomvariableoverride — Kion Update a custom variable override
/v1/custom-variable-override/{id}
DELETE
Deletecustomvariableoverride — Kion Delete a custom variable override
/v1/custom-variable-override/{id}
GET
Getcustomvariable — Kion Get a custom variable
/v1/custom-variable/{id}
PATCH
Updatecustomvariable — Kion Update a custom variable
/v1/custom-variable/{id}
DELETE
Deletecustomvariable — Kion Delete a custom variable
/v1/custom-variable/{id}

MCP Tools

kion-list-custom-variables

Kion List custom variables

read-only idempotent
kion-create-custom-variable

Kion Create a custom variable

kion-list-custom-variable-overrides

Kion List custom variable overrides

read-only idempotent
kion-create-custom-variable-override

Kion Create a custom variable override

kion-get-custom-variable-override

Kion Get a custom variable override

read-only idempotent
kion-update-custom-variable-override

Kion Update a custom variable override

idempotent
kion-delete-custom-variable-override

Kion Delete a custom variable override

idempotent
kion-get-custom-variable

Kion Get a custom variable

read-only idempotent
kion-update-custom-variable

Kion Update a custom variable

idempotent
kion-delete-custom-variable

Kion Delete a custom variable

idempotent

Capability Spec

cloud-operations-custom-variables.yaml Raw ↑
naftiko: 1.0.0-alpha2
info:
  label: Kion Cloud Operations API — Custom Variables
  description: 'Kion Cloud Operations API — Custom Variables. 10 operations. Lead operation: Kion List custom variables. Self-contained
    Naftiko capability covering one Kion business surface.'
  tags:
  - Kion
  - Custom Variables
  created: '2026-05-19'
  modified: '2026-05-19'
binds:
- namespace: env
  keys:
    KION_API_KEY: KION_API_KEY
capability:
  consumes:
  - type: http
    namespace: cloud-operations-custom-variables
    baseUri: https://{kion-instance}/api/v3
    description: Kion Cloud Operations API — Custom Variables business capability. Self-contained, no shared references.
    resources:
    - name: custom-variable
      path: /custom-variable
      operations:
      - name: listcustomvariables
        method: GET
        description: Kion List custom variables
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
      - name: createcustomvariable
        method: POST
        description: Kion Create a custom variable
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
        inputParameters:
        - name: body
          in: body
          type: object
          description: Request body (JSON).
          required: true
    - name: custom-variable-override
      path: /custom-variable-override
      operations:
      - name: listcustomvariableoverrides
        method: GET
        description: Kion List custom variable overrides
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
      - name: createcustomvariableoverride
        method: POST
        description: Kion Create a custom variable override
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
        inputParameters:
        - name: body
          in: body
          type: object
          description: Request body (JSON).
          required: true
    - name: custom-variable-override-id
      path: /custom-variable-override/{id}
      operations:
      - name: getcustomvariableoverride
        method: GET
        description: Kion Get a custom variable override
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
      - name: updatecustomvariableoverride
        method: PATCH
        description: Kion Update a custom variable override
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
        inputParameters:
        - name: body
          in: body
          type: object
          description: Request body (JSON).
          required: true
      - name: deletecustomvariableoverride
        method: DELETE
        description: Kion Delete a custom variable override
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
    - name: custom-variable-id
      path: /custom-variable/{id}
      operations:
      - name: getcustomvariable
        method: GET
        description: Kion Get a custom variable
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
      - name: updatecustomvariable
        method: PATCH
        description: Kion Update a custom variable
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
        inputParameters:
        - name: body
          in: body
          type: object
          description: Request body (JSON).
          required: true
      - name: deletecustomvariable
        method: DELETE
        description: Kion Delete a custom variable
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
    authentication:
      type: bearer
      token: '{{env.KION_API_KEY}}'
  exposes:
  - type: rest
    namespace: cloud-operations-custom-variables-rest
    port: 8080
    description: REST adapter for Kion Cloud Operations API — Custom Variables. One Spectral-compliant resource per consumed
      operation, prefixed with /v1.
    resources:
    - path: /v1/custom-variable
      name: custom-variable
      description: REST surface for custom-variable.
      operations:
      - method: GET
        name: listcustomvariables
        description: Kion List custom variables
        call: cloud-operations-custom-variables.listcustomvariables
        outputParameters:
        - type: object
          mapping: $.
      - method: POST
        name: createcustomvariable
        description: Kion Create a custom variable
        call: cloud-operations-custom-variables.createcustomvariable
        with:
          body: rest.body
        outputParameters:
        - type: object
          mapping: $.
    - path: /v1/custom-variable-override
      name: custom-variable-override
      description: REST surface for custom-variable-override.
      operations:
      - method: GET
        name: listcustomvariableoverrides
        description: Kion List custom variable overrides
        call: cloud-operations-custom-variables.listcustomvariableoverrides
        outputParameters:
        - type: object
          mapping: $.
      - method: POST
        name: createcustomvariableoverride
        description: Kion Create a custom variable override
        call: cloud-operations-custom-variables.createcustomvariableoverride
        with:
          body: rest.body
        outputParameters:
        - type: object
          mapping: $.
    - path: /v1/custom-variable-override/{id}
      name: custom-variable-override-id
      description: REST surface for custom-variable-override-id.
      operations:
      - method: GET
        name: getcustomvariableoverride
        description: Kion Get a custom variable override
        call: cloud-operations-custom-variables.getcustomvariableoverride
        outputParameters:
        - type: object
          mapping: $.
      - method: PATCH
        name: updatecustomvariableoverride
        description: Kion Update a custom variable override
        call: cloud-operations-custom-variables.updatecustomvariableoverride
        with:
          body: rest.body
        outputParameters:
        - type: object
          mapping: $.
      - method: DELETE
        name: deletecustomvariableoverride
        description: Kion Delete a custom variable override
        call: cloud-operations-custom-variables.deletecustomvariableoverride
        outputParameters:
        - type: object
          mapping: $.
    - path: /v1/custom-variable/{id}
      name: custom-variable-id
      description: REST surface for custom-variable-id.
      operations:
      - method: GET
        name: getcustomvariable
        description: Kion Get a custom variable
        call: cloud-operations-custom-variables.getcustomvariable
        outputParameters:
        - type: object
          mapping: $.
      - method: PATCH
        name: updatecustomvariable
        description: Kion Update a custom variable
        call: cloud-operations-custom-variables.updatecustomvariable
        with:
          body: rest.body
        outputParameters:
        - type: object
          mapping: $.
      - method: DELETE
        name: deletecustomvariable
        description: Kion Delete a custom variable
        call: cloud-operations-custom-variables.deletecustomvariable
        outputParameters:
        - type: object
          mapping: $.
  - type: mcp
    namespace: cloud-operations-custom-variables-mcp
    port: 9090
    transport: http
    description: MCP adapter for Kion Cloud Operations API — Custom Variables. One tool per consumed operation, routed inline
      through this capability's consumes block.
    tools:
    - name: kion-list-custom-variables
      description: Kion List custom variables
      hints:
        readOnly: true
        destructive: false
        idempotent: true
      call: cloud-operations-custom-variables.listcustomvariables
      outputParameters:
      - type: object
        mapping: $.
    - name: kion-create-custom-variable
      description: Kion Create a custom variable
      hints:
        readOnly: false
        destructive: false
        idempotent: false
      call: cloud-operations-custom-variables.createcustomvariable
      with:
        body: tools.body
      outputParameters:
      - type: object
        mapping: $.
    - name: kion-list-custom-variable-overrides
      description: Kion List custom variable overrides
      hints:
        readOnly: true
        destructive: false
        idempotent: true
      call: cloud-operations-custom-variables.listcustomvariableoverrides
      outputParameters:
      - type: object
        mapping: $.
    - name: kion-create-custom-variable-override
      description: Kion Create a custom variable override
      hints:
        readOnly: false
        destructive: false
        idempotent: false
      call: cloud-operations-custom-variables.createcustomvariableoverride
      with:
        body: tools.body
      outputParameters:
      - type: object
        mapping: $.
    - name: kion-get-custom-variable-override
      description: Kion Get a custom variable override
      hints:
        readOnly: true
        destructive: false
        idempotent: true
      call: cloud-operations-custom-variables.getcustomvariableoverride
      outputParameters:
      - type: object
        mapping: $.
    - name: kion-update-custom-variable-override
      description: Kion Update a custom variable override
      hints:
        readOnly: false
        destructive: false
        idempotent: true
      call: cloud-operations-custom-variables.updatecustomvariableoverride
      with:
        body: tools.body
      outputParameters:
      - type: object
        mapping: $.
    - name: kion-delete-custom-variable-override
      description: Kion Delete a custom variable override
      hints:
        readOnly: false
        destructive: true
        idempotent: true
      call: cloud-operations-custom-variables.deletecustomvariableoverride
      outputParameters:
      - type: object
        mapping: $.
    - name: kion-get-custom-variable
      description: Kion Get a custom variable
      hints:
        readOnly: true
        destructive: false
        idempotent: true
      call: cloud-operations-custom-variables.getcustomvariable
      outputParameters:
      - type: object
        mapping: $.
    - name: kion-update-custom-variable
      description: Kion Update a custom variable
      hints:
        readOnly: false
        destructive: false
        idempotent: true
      call: cloud-operations-custom-variables.updatecustomvariable
      with:
        body: tools.body
      outputParameters:
      - type: object
        mapping: $.
    - name: kion-delete-custom-variable
      description: Kion Delete a custom variable
      hints:
        readOnly: false
        destructive: true
        idempotent: true
      call: cloud-operations-custom-variables.deletecustomvariable
      outputParameters:
      - type: object
        mapping: $.