Kion · Capability

Kion Cloud Operations API — GCP IAM Roles

Kion Cloud Operations API — GCP IAM Roles. 5 operations. Lead operation: Kion List GCP IAM roles. Self-contained Naftiko capability covering one Kion business surface.

Run with Naftiko KionGCP IAM Roles

What You Can Do

GET
Listgcpiamroles — Kion List GCP IAM roles
/v1/gcp-iam-role
POST
Creategcpiamrole — Kion Create a GCP IAM role
/v1/gcp-iam-role
GET
Getgcpiamrole — Kion Get a GCP IAM role
/v1/gcp-iam-role/{id}
PATCH
Updategcpiamrole — Kion Update a GCP IAM role
/v1/gcp-iam-role/{id}
DELETE
Deletegcpiamrole — Kion Delete a GCP IAM role
/v1/gcp-iam-role/{id}

MCP Tools

kion-list-gcp-iam-roles

Kion List GCP IAM roles

read-only idempotent
kion-create-gcp-iam-role

Kion Create a GCP IAM role

kion-get-gcp-iam-role

Kion Get a GCP IAM role

read-only idempotent
kion-update-gcp-iam-role

Kion Update a GCP IAM role

idempotent
kion-delete-gcp-iam-role

Kion Delete a GCP IAM role

idempotent

Capability Spec

cloud-operations-gcp-iam-roles.yaml Raw ↑
naftiko: 1.0.0-alpha2
info:
  label: Kion Cloud Operations API — GCP IAM Roles
  description: 'Kion Cloud Operations API — GCP IAM Roles. 5 operations. Lead operation: Kion List GCP IAM roles. Self-contained
    Naftiko capability covering one Kion business surface.'
  tags:
  - Kion
  - GCP IAM Roles
  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-gcp-iam-roles
    baseUri: https://{kion-instance}/api/v3
    description: Kion Cloud Operations API — GCP IAM Roles business capability. Self-contained, no shared references.
    resources:
    - name: gcp-iam-role
      path: /gcp-iam-role
      operations:
      - name: listgcpiamroles
        method: GET
        description: Kion List GCP IAM roles
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
      - name: creategcpiamrole
        method: POST
        description: Kion Create a GCP IAM role
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
        inputParameters:
        - name: body
          in: body
          type: object
          description: Request body (JSON).
          required: true
    - name: gcp-iam-role-id
      path: /gcp-iam-role/{id}
      operations:
      - name: getgcpiamrole
        method: GET
        description: Kion Get a GCP IAM role
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
      - name: updategcpiamrole
        method: PATCH
        description: Kion Update a GCP IAM role
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
        inputParameters:
        - name: body
          in: body
          type: object
          description: Request body (JSON).
          required: true
      - name: deletegcpiamrole
        method: DELETE
        description: Kion Delete a GCP IAM role
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
    authentication:
      type: bearer
      token: '{{env.KION_API_KEY}}'
  exposes:
  - type: rest
    namespace: cloud-operations-gcp-iam-roles-rest
    port: 8080
    description: REST adapter for Kion Cloud Operations API — GCP IAM Roles. One Spectral-compliant resource per consumed
      operation, prefixed with /v1.
    resources:
    - path: /v1/gcp-iam-role
      name: gcp-iam-role
      description: REST surface for gcp-iam-role.
      operations:
      - method: GET
        name: listgcpiamroles
        description: Kion List GCP IAM roles
        call: cloud-operations-gcp-iam-roles.listgcpiamroles
        outputParameters:
        - type: object
          mapping: $.
      - method: POST
        name: creategcpiamrole
        description: Kion Create a GCP IAM role
        call: cloud-operations-gcp-iam-roles.creategcpiamrole
        with:
          body: rest.body
        outputParameters:
        - type: object
          mapping: $.
    - path: /v1/gcp-iam-role/{id}
      name: gcp-iam-role-id
      description: REST surface for gcp-iam-role-id.
      operations:
      - method: GET
        name: getgcpiamrole
        description: Kion Get a GCP IAM role
        call: cloud-operations-gcp-iam-roles.getgcpiamrole
        outputParameters:
        - type: object
          mapping: $.
      - method: PATCH
        name: updategcpiamrole
        description: Kion Update a GCP IAM role
        call: cloud-operations-gcp-iam-roles.updategcpiamrole
        with:
          body: rest.body
        outputParameters:
        - type: object
          mapping: $.
      - method: DELETE
        name: deletegcpiamrole
        description: Kion Delete a GCP IAM role
        call: cloud-operations-gcp-iam-roles.deletegcpiamrole
        outputParameters:
        - type: object
          mapping: $.
  - type: mcp
    namespace: cloud-operations-gcp-iam-roles-mcp
    port: 9090
    transport: http
    description: MCP adapter for Kion Cloud Operations API — GCP IAM Roles. One tool per consumed operation, routed inline
      through this capability's consumes block.
    tools:
    - name: kion-list-gcp-iam-roles
      description: Kion List GCP IAM roles
      hints:
        readOnly: true
        destructive: false
        idempotent: true
      call: cloud-operations-gcp-iam-roles.listgcpiamroles
      outputParameters:
      - type: object
        mapping: $.
    - name: kion-create-gcp-iam-role
      description: Kion Create a GCP IAM role
      hints:
        readOnly: false
        destructive: false
        idempotent: false
      call: cloud-operations-gcp-iam-roles.creategcpiamrole
      with:
        body: tools.body
      outputParameters:
      - type: object
        mapping: $.
    - name: kion-get-gcp-iam-role
      description: Kion Get a GCP IAM role
      hints:
        readOnly: true
        destructive: false
        idempotent: true
      call: cloud-operations-gcp-iam-roles.getgcpiamrole
      outputParameters:
      - type: object
        mapping: $.
    - name: kion-update-gcp-iam-role
      description: Kion Update a GCP IAM role
      hints:
        readOnly: false
        destructive: false
        idempotent: true
      call: cloud-operations-gcp-iam-roles.updategcpiamrole
      with:
        body: tools.body
      outputParameters:
      - type: object
        mapping: $.
    - name: kion-delete-gcp-iam-role
      description: Kion Delete a GCP IAM role
      hints:
        readOnly: false
        destructive: true
        idempotent: true
      call: cloud-operations-gcp-iam-roles.deletegcpiamrole
      outputParameters:
      - type: object
        mapping: $.