Spot · Capability

Spot Elastigroup API — Elastigroup GCP

Spot Elastigroup API — Elastigroup GCP. 5 operations. Lead operation: Spot Create Elastigroup (gcp). Self-contained Naftiko capability covering one Spot business surface.

Run with Naftiko SpotElastigroup GCP

What You Can Do

POST
Createelastigroupgcp — Spot Create Elastigroup (gcp)
/v1/gcp/gce/group
GET
Listelastigroupsgcp — Spot List Elastigroups (gcp)
/v1/gcp/gce/group
GET
Getelastigroupgcp — Spot Get Elastigroup (gcp)
/v1/gcp/gce/group/{groupid}
PUT
Updateelastigroupgcp — Spot Update Elastigroup (gcp)
/v1/gcp/gce/group/{groupid}
DELETE
Deleteelastigroupgcp — Spot Delete Elastigroup (gcp)
/v1/gcp/gce/group/{groupid}

MCP Tools

spot-create-elastigroup-gcp

Spot Create Elastigroup (gcp)

spot-list-elastigroups-gcp

Spot List Elastigroups (gcp)

read-only idempotent
spot-get-elastigroup-gcp

Spot Get Elastigroup (gcp)

read-only idempotent
spot-update-elastigroup-gcp

Spot Update Elastigroup (gcp)

idempotent
spot-delete-elastigroup-gcp

Spot Delete Elastigroup (gcp)

idempotent

Capability Spec

elastigroup-elastigroup-gcp.yaml Raw ↑
naftiko: 1.0.0-alpha2
info:
  label: Spot Elastigroup API — Elastigroup GCP
  description: 'Spot Elastigroup API — Elastigroup GCP. 5 operations. Lead operation: Spot Create Elastigroup (gcp). Self-contained
    Naftiko capability covering one Spot business surface.'
  tags:
  - Spot
  - Elastigroup GCP
  created: '2026-05-19'
  modified: '2026-05-19'
binds:
- namespace: env
  keys:
    SPOT_API_KEY: SPOT_API_KEY
capability:
  consumes:
  - type: http
    namespace: elastigroup-elastigroup-gcp
    baseUri: https://api.spotinst.io
    description: Spot Elastigroup API — Elastigroup GCP business capability. Self-contained, no shared references.
    resources:
    - name: gcp-gce-group
      path: /gcp/gce/group
      operations:
      - name: createelastigroupgcp
        method: POST
        description: Spot Create Elastigroup (gcp)
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
        inputParameters:
        - name: body
          in: body
          type: object
          description: Request body (JSON).
          required: true
      - name: listelastigroupsgcp
        method: GET
        description: Spot List Elastigroups (gcp)
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
    - name: gcp-gce-group-groupId
      path: /gcp/gce/group/{groupId}
      operations:
      - name: getelastigroupgcp
        method: GET
        description: Spot Get Elastigroup (gcp)
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
        inputParameters:
        - name: groupId
          in: path
          type: string
          required: true
      - name: updateelastigroupgcp
        method: PUT
        description: Spot Update Elastigroup (gcp)
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
        inputParameters:
        - name: groupId
          in: path
          type: string
          required: true
        - name: body
          in: body
          type: object
          description: Request body (JSON).
          required: true
      - name: deleteelastigroupgcp
        method: DELETE
        description: Spot Delete Elastigroup (gcp)
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
        inputParameters:
        - name: groupId
          in: path
          type: string
          required: true
    authentication:
      type: bearer
      token: '{{env.SPOT_API_KEY}}'
  exposes:
  - type: rest
    namespace: elastigroup-elastigroup-gcp-rest
    port: 8080
    description: REST adapter for Spot Elastigroup API — Elastigroup GCP. One Spectral-compliant resource per consumed operation,
      prefixed with /v1.
    resources:
    - path: /v1/gcp/gce/group
      name: gcp-gce-group
      description: REST surface for gcp-gce-group.
      operations:
      - method: POST
        name: createelastigroupgcp
        description: Spot Create Elastigroup (gcp)
        call: elastigroup-elastigroup-gcp.createelastigroupgcp
        with:
          body: rest.body
        outputParameters:
        - type: object
          mapping: $.
      - method: GET
        name: listelastigroupsgcp
        description: Spot List Elastigroups (gcp)
        call: elastigroup-elastigroup-gcp.listelastigroupsgcp
        outputParameters:
        - type: object
          mapping: $.
    - path: /v1/gcp/gce/group/{groupid}
      name: gcp-gce-group-groupid
      description: REST surface for gcp-gce-group-groupId.
      operations:
      - method: GET
        name: getelastigroupgcp
        description: Spot Get Elastigroup (gcp)
        call: elastigroup-elastigroup-gcp.getelastigroupgcp
        with:
          groupId: rest.groupId
        outputParameters:
        - type: object
          mapping: $.
      - method: PUT
        name: updateelastigroupgcp
        description: Spot Update Elastigroup (gcp)
        call: elastigroup-elastigroup-gcp.updateelastigroupgcp
        with:
          groupId: rest.groupId
          body: rest.body
        outputParameters:
        - type: object
          mapping: $.
      - method: DELETE
        name: deleteelastigroupgcp
        description: Spot Delete Elastigroup (gcp)
        call: elastigroup-elastigroup-gcp.deleteelastigroupgcp
        with:
          groupId: rest.groupId
        outputParameters:
        - type: object
          mapping: $.
  - type: mcp
    namespace: elastigroup-elastigroup-gcp-mcp
    port: 9090
    transport: http
    description: MCP adapter for Spot Elastigroup API — Elastigroup GCP. One tool per consumed operation, routed inline through
      this capability's consumes block.
    tools:
    - name: spot-create-elastigroup-gcp
      description: Spot Create Elastigroup (gcp)
      hints:
        readOnly: false
        destructive: false
        idempotent: false
      call: elastigroup-elastigroup-gcp.createelastigroupgcp
      with:
        body: tools.body
      outputParameters:
      - type: object
        mapping: $.
    - name: spot-list-elastigroups-gcp
      description: Spot List Elastigroups (gcp)
      hints:
        readOnly: true
        destructive: false
        idempotent: true
      call: elastigroup-elastigroup-gcp.listelastigroupsgcp
      outputParameters:
      - type: object
        mapping: $.
    - name: spot-get-elastigroup-gcp
      description: Spot Get Elastigroup (gcp)
      hints:
        readOnly: true
        destructive: false
        idempotent: true
      call: elastigroup-elastigroup-gcp.getelastigroupgcp
      with:
        groupId: tools.groupId
      outputParameters:
      - type: object
        mapping: $.
    - name: spot-update-elastigroup-gcp
      description: Spot Update Elastigroup (gcp)
      hints:
        readOnly: false
        destructive: false
        idempotent: true
      call: elastigroup-elastigroup-gcp.updateelastigroupgcp
      with:
        groupId: tools.groupId
        body: tools.body
      outputParameters:
      - type: object
        mapping: $.
    - name: spot-delete-elastigroup-gcp
      description: Spot Delete Elastigroup (gcp)
      hints:
        readOnly: false
        destructive: true
        idempotent: true
      call: elastigroup-elastigroup-gcp.deleteelastigroupgcp
      with:
        groupId: tools.groupId
      outputParameters:
      - type: object
        mapping: $.