naftiko: 1.0.0-alpha2 info: label: Azure Pipelines Build REST API — Build Artifacts description: 'Azure Pipelines Build REST API — Build Artifacts. 2 operations. Lead operation: Azure Pipelines List build artifacts. Self-contained Naftiko capability covering one Microsoft Azure Pipelines business surface.' tags: - Microsoft Azure Pipelines - Build Artifacts 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-artifacts baseUri: https://dev.azure.com/{organization}/{project}/_apis description: Azure Pipelines Build REST API — Build Artifacts business capability. Self-contained, no shared references. resources: - name: build-builds-buildId-artifacts path: /build/builds/{buildId}/artifacts operations: - name: listbuildartifacts method: GET description: Azure Pipelines List build artifacts outputRawFormat: json outputParameters: - name: result type: object value: $. - name: build-builds-buildId-artifacts-artifactName path: /build/builds/{buildId}/artifacts/{artifactName} operations: - name: getbuildartifact method: GET description: Azure Pipelines Get a specific build artifact outputRawFormat: json outputParameters: - name: result type: object value: $. inputParameters: - name: artifactName in: path type: string description: Name of the artifact to retrieve required: true authentication: type: bearer token: '{{env.MICROSOFT_AZURE_PIPELINES_API_KEY}}' exposes: - type: rest namespace: azure-pipelines-build-build-artifacts-rest port: 8080 description: REST adapter for Azure Pipelines Build REST API — Build Artifacts. One Spectral-compliant resource per consumed operation, prefixed with /v1. resources: - path: /v1/build/builds/{buildid}/artifacts name: build-builds-buildid-artifacts description: REST surface for build-builds-buildId-artifacts. operations: - method: GET name: listbuildartifacts description: Azure Pipelines List build artifacts call: azure-pipelines-build-build-artifacts.listbuildartifacts outputParameters: - type: object mapping: $. - path: /v1/build/builds/{buildid}/artifacts/{artifactname} name: build-builds-buildid-artifacts-artifactname description: REST surface for build-builds-buildId-artifacts-artifactName. operations: - method: GET name: getbuildartifact description: Azure Pipelines Get a specific build artifact call: azure-pipelines-build-build-artifacts.getbuildartifact with: artifactName: rest.artifactName outputParameters: - type: object mapping: $. - type: mcp namespace: azure-pipelines-build-build-artifacts-mcp port: 9090 transport: http description: MCP adapter for Azure Pipelines Build REST API — Build Artifacts. One tool per consumed operation, routed inline through this capability's consumes block. tools: - name: azure-pipelines-list-build-artifacts description: Azure Pipelines List build artifacts hints: readOnly: true destructive: false idempotent: true call: azure-pipelines-build-build-artifacts.listbuildartifacts outputParameters: - type: object mapping: $. - name: azure-pipelines-get-specific-build description: Azure Pipelines Get a specific build artifact hints: readOnly: true destructive: false idempotent: true call: azure-pipelines-build-build-artifacts.getbuildartifact with: artifactName: tools.artifactName outputParameters: - type: object mapping: $.