Azure Pipelines · Capability

Azure Pipelines Build REST API — Build Tags

Azure Pipelines Build REST API — Build Tags. 3 operations. Lead operation: Azure Pipelines List build tags. Self-contained Naftiko capability covering one Microsoft Azure Pipelines business surface.

Run with Naftiko Microsoft Azure PipelinesBuild Tags

What You Can Do

GET
Listbuildtags — Azure Pipelines List build tags
/v1/build/builds/{buildid}/tags
PUT
Addbuildtag — Azure Pipelines Add a tag to a build
/v1/build/builds/{buildid}/tags/{tag}
DELETE
Deletebuildtag — Azure Pipelines Remove a tag from a build
/v1/build/builds/{buildid}/tags/{tag}

MCP Tools

azure-pipelines-list-build-tags

Azure Pipelines List build tags

read-only idempotent
azure-pipelines-add-tag-build

Azure Pipelines Add a tag to a build

idempotent
azure-pipelines-remove-tag-build

Azure Pipelines Remove a tag from a build

idempotent

Capability Spec

azure-pipelines-build-build-tags.yaml Raw ↑
naftiko: 1.0.0-alpha2
info:
  label: Azure Pipelines Build REST API — Build Tags
  description: 'Azure Pipelines Build REST API — Build Tags. 3 operations. Lead operation: Azure Pipelines List build tags.
    Self-contained Naftiko capability covering one Microsoft Azure Pipelines business surface.'
  tags:
  - Microsoft Azure Pipelines
  - Build Tags
  created: '2026-05-19'
  modified: '2026-05-19'
binds:
- namespace: env
  keys:
    MICROSOFT_AZURE_PIPELINES_API_KEY: MICROSOFT_AZURE_PIPELINES_API_KEY
capability:
  consumes:
  - type: http
    namespace: azure-pipelines-build-build-tags
    baseUri: https://dev.azure.com/{organization}/{project}/_apis
    description: Azure Pipelines Build REST API — Build Tags business capability. Self-contained, no shared references.
    resources:
    - name: build-builds-buildId-tags
      path: /build/builds/{buildId}/tags
      operations:
      - name: listbuildtags
        method: GET
        description: Azure Pipelines List build tags
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
    - name: build-builds-buildId-tags-tag
      path: /build/builds/{buildId}/tags/{tag}
      operations:
      - name: addbuildtag
        method: PUT
        description: Azure Pipelines Add a tag to a build
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
        inputParameters:
        - name: tag
          in: path
          type: string
          description: Tag to add to the build
          required: true
      - name: deletebuildtag
        method: DELETE
        description: Azure Pipelines Remove a tag from a build
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
        inputParameters:
        - name: tag
          in: path
          type: string
          description: Tag to remove from the build
          required: true
    authentication:
      type: bearer
      token: '{{env.MICROSOFT_AZURE_PIPELINES_API_KEY}}'
  exposes:
  - type: rest
    namespace: azure-pipelines-build-build-tags-rest
    port: 8080
    description: REST adapter for Azure Pipelines Build REST API — Build Tags. One Spectral-compliant resource per consumed
      operation, prefixed with /v1.
    resources:
    - path: /v1/build/builds/{buildid}/tags
      name: build-builds-buildid-tags
      description: REST surface for build-builds-buildId-tags.
      operations:
      - method: GET
        name: listbuildtags
        description: Azure Pipelines List build tags
        call: azure-pipelines-build-build-tags.listbuildtags
        outputParameters:
        - type: object
          mapping: $.
    - path: /v1/build/builds/{buildid}/tags/{tag}
      name: build-builds-buildid-tags-tag
      description: REST surface for build-builds-buildId-tags-tag.
      operations:
      - method: PUT
        name: addbuildtag
        description: Azure Pipelines Add a tag to a build
        call: azure-pipelines-build-build-tags.addbuildtag
        with:
          tag: rest.tag
        outputParameters:
        - type: object
          mapping: $.
      - method: DELETE
        name: deletebuildtag
        description: Azure Pipelines Remove a tag from a build
        call: azure-pipelines-build-build-tags.deletebuildtag
        with:
          tag: rest.tag
        outputParameters:
        - type: object
          mapping: $.
  - type: mcp
    namespace: azure-pipelines-build-build-tags-mcp
    port: 9090
    transport: http
    description: MCP adapter for Azure Pipelines Build REST API — Build Tags. One tool per consumed operation, routed inline
      through this capability's consumes block.
    tools:
    - name: azure-pipelines-list-build-tags
      description: Azure Pipelines List build tags
      hints:
        readOnly: true
        destructive: false
        idempotent: true
      call: azure-pipelines-build-build-tags.listbuildtags
      outputParameters:
      - type: object
        mapping: $.
    - name: azure-pipelines-add-tag-build
      description: Azure Pipelines Add a tag to a build
      hints:
        readOnly: false
        destructive: false
        idempotent: true
      call: azure-pipelines-build-build-tags.addbuildtag
      with:
        tag: tools.tag
      outputParameters:
      - type: object
        mapping: $.
    - name: azure-pipelines-remove-tag-build
      description: Azure Pipelines Remove a tag from a build
      hints:
        readOnly: false
        destructive: true
        idempotent: true
      call: azure-pipelines-build-build-tags.deletebuildtag
      with:
        tag: tools.tag
      outputParameters:
      - type: object
        mapping: $.