Zesty · Capability

Zesty Instances API — Head Tags

Zesty Instances API — Head Tags. 5 operations. Lead operation: Zesty List all head tags. Self-contained Naftiko capability covering one Zesty business surface.

Run with Naftiko ZestyHead Tags

What You Can Do

GET
Getheadtags — Zesty List all head tags
/v1/web/headtags
POST
Createheadtag — Zesty Create a head tag
/v1/web/headtags
GET
Getheadtag — Zesty Get a head tag
/v1/web/headtags/{headtagzuid}
PUT
Updateheadtag — Zesty Update a head tag
/v1/web/headtags/{headtagzuid}
DELETE
Deleteheadtag — Zesty Delete a head tag
/v1/web/headtags/{headtagzuid}

MCP Tools

zesty-list-all-head-tags

Zesty List all head tags

read-only idempotent
zesty-create-head-tag

Zesty Create a head tag

zesty-get-head-tag

Zesty Get a head tag

read-only idempotent
zesty-update-head-tag

Zesty Update a head tag

idempotent
zesty-delete-head-tag

Zesty Delete a head tag

idempotent

Capability Spec

instances-head-tags.yaml Raw ↑
naftiko: 1.0.0-alpha2
info:
  label: Zesty Instances API — Head Tags
  description: 'Zesty Instances API — Head Tags. 5 operations. Lead operation: Zesty List all head tags. Self-contained Naftiko
    capability covering one Zesty business surface.'
  tags:
  - Zesty
  - Head Tags
  created: '2026-05-19'
  modified: '2026-05-19'
binds:
- namespace: env
  keys:
    ZESTY_API_KEY: ZESTY_API_KEY
capability:
  consumes:
  - type: http
    namespace: instances-head-tags
    baseUri: https://{instanceZUID}.api.zesty.io/v1
    description: Zesty Instances API — Head Tags business capability. Self-contained, no shared references.
    resources:
    - name: web-headtags
      path: /web/headtags
      operations:
      - name: getheadtags
        method: GET
        description: Zesty List all head tags
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
      - name: createheadtag
        method: POST
        description: Zesty Create a head tag
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
        inputParameters:
        - name: body
          in: body
          type: object
          description: Request body (JSON).
          required: true
    - name: web-headtags-headTagZUID
      path: /web/headtags/{headTagZUID}
      operations:
      - name: getheadtag
        method: GET
        description: Zesty Get a head tag
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
        inputParameters:
        - name: headTagZUID
          in: path
          type: string
          description: The ZUID of the head tag.
          required: true
      - name: updateheadtag
        method: PUT
        description: Zesty Update a head tag
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
        inputParameters:
        - name: headTagZUID
          in: path
          type: string
          description: The ZUID of the head tag.
          required: true
        - name: body
          in: body
          type: object
          description: Request body (JSON).
          required: true
      - name: deleteheadtag
        method: DELETE
        description: Zesty Delete a head tag
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
        inputParameters:
        - name: headTagZUID
          in: path
          type: string
          description: The ZUID of the head tag.
          required: true
    authentication:
      type: apikey
      key: Authorization
      value: '{{env.ZESTY_API_KEY}}'
      placement: header
  exposes:
  - type: rest
    namespace: instances-head-tags-rest
    port: 8080
    description: REST adapter for Zesty Instances API — Head Tags. One Spectral-compliant resource per consumed operation,
      prefixed with /v1.
    resources:
    - path: /v1/web/headtags
      name: web-headtags
      description: REST surface for web-headtags.
      operations:
      - method: GET
        name: getheadtags
        description: Zesty List all head tags
        call: instances-head-tags.getheadtags
        outputParameters:
        - type: object
          mapping: $.
      - method: POST
        name: createheadtag
        description: Zesty Create a head tag
        call: instances-head-tags.createheadtag
        with:
          body: rest.body
        outputParameters:
        - type: object
          mapping: $.
    - path: /v1/web/headtags/{headtagzuid}
      name: web-headtags-headtagzuid
      description: REST surface for web-headtags-headTagZUID.
      operations:
      - method: GET
        name: getheadtag
        description: Zesty Get a head tag
        call: instances-head-tags.getheadtag
        with:
          headTagZUID: rest.headTagZUID
        outputParameters:
        - type: object
          mapping: $.
      - method: PUT
        name: updateheadtag
        description: Zesty Update a head tag
        call: instances-head-tags.updateheadtag
        with:
          headTagZUID: rest.headTagZUID
          body: rest.body
        outputParameters:
        - type: object
          mapping: $.
      - method: DELETE
        name: deleteheadtag
        description: Zesty Delete a head tag
        call: instances-head-tags.deleteheadtag
        with:
          headTagZUID: rest.headTagZUID
        outputParameters:
        - type: object
          mapping: $.
  - type: mcp
    namespace: instances-head-tags-mcp
    port: 9090
    transport: http
    description: MCP adapter for Zesty Instances API — Head Tags. One tool per consumed operation, routed inline through this
      capability's consumes block.
    tools:
    - name: zesty-list-all-head-tags
      description: Zesty List all head tags
      hints:
        readOnly: true
        destructive: false
        idempotent: true
      call: instances-head-tags.getheadtags
      outputParameters:
      - type: object
        mapping: $.
    - name: zesty-create-head-tag
      description: Zesty Create a head tag
      hints:
        readOnly: false
        destructive: false
        idempotent: false
      call: instances-head-tags.createheadtag
      with:
        body: tools.body
      outputParameters:
      - type: object
        mapping: $.
    - name: zesty-get-head-tag
      description: Zesty Get a head tag
      hints:
        readOnly: true
        destructive: false
        idempotent: true
      call: instances-head-tags.getheadtag
      with:
        headTagZUID: tools.headTagZUID
      outputParameters:
      - type: object
        mapping: $.
    - name: zesty-update-head-tag
      description: Zesty Update a head tag
      hints:
        readOnly: false
        destructive: false
        idempotent: true
      call: instances-head-tags.updateheadtag
      with:
        headTagZUID: tools.headTagZUID
        body: tools.body
      outputParameters:
      - type: object
        mapping: $.
    - name: zesty-delete-head-tag
      description: Zesty Delete a head tag
      hints:
        readOnly: false
        destructive: true
        idempotent: true
      call: instances-head-tags.deleteheadtag
      with:
        headTagZUID: tools.headTagZUID
      outputParameters:
      - type: object
        mapping: $.