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: $.