Zuplo · Capability

Zuplo Developer API — Variables

Zuplo Developer API — Variables. 2 operations. Lead operation: Creates a Variable. Self-contained Naftiko capability covering one Zuplo business surface.

Run with Naftiko ZuploVariables

What You Can Do

POST
Variablesservicecreate — Creates a Variable
/v1/v1/accounts/{accountname}/projects/{projectname}/branches/{branchname}/variables
PATCH
Variablesserviceupdate — Updates a Variable
/v1/v1/accounts/{accountname}/projects/{projectname}/branches/{branchname}/variables/{variablename}

MCP Tools

creates-variable

Creates a Variable

updates-variable

Updates a Variable

idempotent

Capability Spec

zuplo-variables.yaml Raw ↑
naftiko: 1.0.0-alpha2
info:
  label: Zuplo Developer API — Variables
  description: 'Zuplo Developer API — Variables. 2 operations. Lead operation: Creates a Variable. Self-contained Naftiko
    capability covering one Zuplo business surface.'
  tags:
  - Zuplo
  - Variables
  created: '2026-05-19'
  modified: '2026-05-19'
binds:
- namespace: env
  keys:
    ZUPLO_API_KEY: ZUPLO_API_KEY
capability:
  consumes:
  - type: http
    namespace: zuplo-variables
    baseUri: https://dev.zuplo.com
    description: Zuplo Developer API — Variables business capability. Self-contained, no shared references.
    resources:
    - name: v1-accounts-accountName-projects-projectName-branches-branchName-variables
      path: /v1/accounts/{accountName}/projects/{projectName}/branches/{branchName}/variables
      operations:
      - name: variablesservicecreate
        method: POST
        description: Creates a Variable
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
        inputParameters:
        - name: body
          in: body
          type: object
          description: Request body (JSON).
          required: true
    - name: v1-accounts-accountName-projects-projectName-branches-branchName-variables-varia
      path: /v1/accounts/{accountName}/projects/{projectName}/branches/{branchName}/variables/{variableName}
      operations:
      - name: variablesserviceupdate
        method: PATCH
        description: Updates a Variable
        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: Authorization
      value: '{{env.ZUPLO_API_KEY}}'
      placement: header
  exposes:
  - type: rest
    namespace: zuplo-variables-rest
    port: 8080
    description: REST adapter for Zuplo Developer API — Variables. One Spectral-compliant resource per consumed operation,
      prefixed with /v1.
    resources:
    - path: /v1/v1/accounts/{accountname}/projects/{projectname}/branches/{branchname}/variables
      name: v1-accounts-accountname-projects-projectname-branches-branchname-variables
      description: REST surface for v1-accounts-accountName-projects-projectName-branches-branchName-variables.
      operations:
      - method: POST
        name: variablesservicecreate
        description: Creates a Variable
        call: zuplo-variables.variablesservicecreate
        with:
          body: rest.body
        outputParameters:
        - type: object
          mapping: $.
    - path: /v1/v1/accounts/{accountname}/projects/{projectname}/branches/{branchname}/variables/{variablename}
      name: v1-accounts-accountname-projects-projectname-branches-branchname-variables-varia
      description: REST surface for v1-accounts-accountName-projects-projectName-branches-branchName-variables-varia.
      operations:
      - method: PATCH
        name: variablesserviceupdate
        description: Updates a Variable
        call: zuplo-variables.variablesserviceupdate
        with:
          body: rest.body
        outputParameters:
        - type: object
          mapping: $.
  - type: mcp
    namespace: zuplo-variables-mcp
    port: 9090
    transport: http
    description: MCP adapter for Zuplo Developer API — Variables. One tool per consumed operation, routed inline through this
      capability's consumes block.
    tools:
    - name: creates-variable
      description: Creates a Variable
      hints:
        readOnly: false
        destructive: false
        idempotent: false
      call: zuplo-variables.variablesservicecreate
      with:
        body: tools.body
      outputParameters:
      - type: object
        mapping: $.
    - name: updates-variable
      description: Updates a Variable
      hints:
        readOnly: false
        destructive: false
        idempotent: true
      call: zuplo-variables.variablesserviceupdate
      with:
        body: tools.body
      outputParameters:
      - type: object
        mapping: $.