Atlassian · Capability

Atlassian Bit Bucket Repositories API — Containers

Atlassian Bit Bucket Repositories API — Containers. 1 operations. Lead operation: Atlassian Get the Logs for the Build Container or Service Container for Given Step of Pipeline.. Self-contained Naftiko capability covering one Atlassian business surface.

Run with Naftiko AtlassianContainers

What You Can Do

GET
Getthelogsforthebuildcontainerorservicecontainerforgivenstepofpipeline — Atlassian Get the Logs for the Build Container or Service Container for Given Step of Pipeline.
/v1/repositories/{workspace}/{repo-slug}/pipelines/{pipeline-uuid}/steps/{step-uuid}/logs/{log-uuid}

MCP Tools

atlassian-get-logs-build-container

Atlassian Get the Logs for the Build Container or Service Container for Given Step of Pipeline.

read-only idempotent

Capability Spec

bitbucket-repositories-containers.yaml Raw ↑
naftiko: 1.0.0-alpha2
info:
  label: Atlassian Bit Bucket Repositories API — Containers
  description: 'Atlassian Bit Bucket Repositories API — Containers. 1 operations. Lead operation: Atlassian Get the Logs for
    the Build Container or Service Container for Given Step of Pipeline.. Self-contained Naftiko capability covering one Atlassian
    business surface.'
  tags:
  - Atlassian
  - Containers
  created: '2026-05-19'
  modified: '2026-05-19'
binds:
- namespace: env
  keys:
    ATLASSIAN_API_KEY: ATLASSIAN_API_KEY
capability:
  consumes:
  - type: http
    namespace: bitbucket-repositories-containers
    baseUri: https://api.bitbucket.org/2.0
    description: Atlassian Bit Bucket Repositories API — Containers business capability. Self-contained, no shared references.
    resources:
    - name: repositories-workspace-repo_slug-pipelines-pipeline_uuid-steps-step_uuid-logs-lo
      path: /repositories/{workspace}/{repo_slug}/pipelines/{pipeline_uuid}/steps/{step_uuid}/logs/{log_uuid}
      operations:
      - name: getthelogsforthebuildcontainerorservicecontainerforgivenstepofpipeline
        method: GET
        description: Atlassian Get the Logs for the Build Container or Service Container for Given Step of Pipeline.
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
        inputParameters:
        - name: workspace
          in: path
          type: string
          description: This can either be the workspace ID (slug) or the workspace UUID surrounded by curly-braces, for example
            `{workspace UUID}`.
          required: true
        - name: repo_slug
          in: path
          type: string
          description: The repository.
          required: true
        - name: pipeline_uuid
          in: path
          type: string
          description: The UUID of the pipeline.
          required: true
        - name: step_uuid
          in: path
          type: string
          description: The UUID of the step.
          required: true
        - name: log_uuid
          in: path
          type: string
          description: For the main build container specify the step UUID; for a service container specify the service container
            UUID
          required: true
    authentication:
      type: bearer
      token: '{{env.ATLASSIAN_API_KEY}}'
  exposes:
  - type: rest
    namespace: bitbucket-repositories-containers-rest
    port: 8080
    description: REST adapter for Atlassian Bit Bucket Repositories API — Containers. One Spectral-compliant resource per
      consumed operation, prefixed with /v1.
    resources:
    - path: /v1/repositories/{workspace}/{repo-slug}/pipelines/{pipeline-uuid}/steps/{step-uuid}/logs/{log-uuid}
      name: repositories-workspace-repo-slug-pipelines-pipeline-uuid-steps-step-uuid-logs-lo
      description: REST surface for repositories-workspace-repo_slug-pipelines-pipeline_uuid-steps-step_uuid-logs-lo.
      operations:
      - method: GET
        name: getthelogsforthebuildcontainerorservicecontainerforgivenstepofpipeline
        description: Atlassian Get the Logs for the Build Container or Service Container for Given Step of Pipeline.
        call: bitbucket-repositories-containers.getthelogsforthebuildcontainerorservicecontainerforgivenstepofpipeline
        with:
          workspace: rest.workspace
          repo_slug: rest.repo_slug
          pipeline_uuid: rest.pipeline_uuid
          step_uuid: rest.step_uuid
          log_uuid: rest.log_uuid
        outputParameters:
        - type: object
          mapping: $.
  - type: mcp
    namespace: bitbucket-repositories-containers-mcp
    port: 9090
    transport: http
    description: MCP adapter for Atlassian Bit Bucket Repositories API — Containers. One tool per consumed operation, routed
      inline through this capability's consumes block.
    tools:
    - name: atlassian-get-logs-build-container
      description: Atlassian Get the Logs for the Build Container or Service Container for Given Step of Pipeline.
      hints:
        readOnly: true
        destructive: false
        idempotent: true
      call: bitbucket-repositories-containers.getthelogsforthebuildcontainerorservicecontainerforgivenstepofpipeline
      with:
        workspace: tools.workspace
        repo_slug: tools.repo_slug
        pipeline_uuid: tools.pipeline_uuid
        step_uuid: tools.step_uuid
        log_uuid: tools.log_uuid
      outputParameters:
      - type: object
        mapping: $.