Amazon S3 · Capability

Amazon S3 REST API — Tagging

Amazon S3 REST API — Tagging. 3 operations. Lead operation: Amazon S3 Get Bucket Tagging. Self-contained Naftiko capability covering one Amazon S3 business surface.

Run with Naftiko Amazon S3Tagging

What You Can Do

GET
Getbuckettagging — Amazon S3 Get Bucket Tagging
/v1/bucket-tagging
PUT
Putbuckettagging — Amazon S3 Put Bucket Tagging
/v1/bucket-tagging
DELETE
Deletebuckettagging — Amazon S3 Delete Bucket Tagging
/v1/bucket-tagging

MCP Tools

amazon-s3-get-bucket-tagging

Amazon S3 Get Bucket Tagging

read-only idempotent
amazon-s3-put-bucket-tagging

Amazon S3 Put Bucket Tagging

idempotent
amazon-s3-delete-bucket-tagging

Amazon S3 Delete Bucket Tagging

idempotent

Capability Spec

rest-tagging.yaml Raw ↑
naftiko: 1.0.0-alpha2
info:
  label: Amazon S3 REST API — Tagging
  description: 'Amazon S3 REST API — Tagging. 3 operations. Lead operation: Amazon S3 Get Bucket Tagging. Self-contained Naftiko
    capability covering one Amazon S3 business surface.'
  tags:
  - Amazon S3
  - Tagging
  created: '2026-05-19'
  modified: '2026-05-19'
binds:
- namespace: env
  keys:
    AMAZON_S3_API_KEY: AMAZON_S3_API_KEY
capability:
  consumes:
  - type: http
    namespace: rest-tagging
    baseUri: https://s3.{region}.amazonaws.com
    description: Amazon S3 REST API — Tagging business capability. Self-contained, no shared references.
    resources:
    - name: Bucket}?tagging
      path: /{Bucket}?tagging
      operations:
      - name: getbuckettagging
        method: GET
        description: Amazon S3 Get Bucket Tagging
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
        inputParameters:
        - name: x-amz-expected-bucket-owner
          in: header
          type: string
          description: The account ID of the expected bucket owner.
      - name: putbuckettagging
        method: PUT
        description: Amazon S3 Put Bucket Tagging
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
        inputParameters:
        - name: Content-MD5
          in: header
          type: string
          description: The base64-encoded 128-bit MD5 digest of the data.
        - name: x-amz-expected-bucket-owner
          in: header
          type: string
          description: The account ID of the expected bucket owner.
        - name: x-amz-checksum-algorithm
          in: header
          type: string
          description: Algorithm used to create the checksum.
        - name: body
          in: body
          type: object
          description: Request body (JSON).
          required: true
      - name: deletebuckettagging
        method: DELETE
        description: Amazon S3 Delete Bucket Tagging
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
        inputParameters:
        - name: x-amz-expected-bucket-owner
          in: header
          type: string
          description: The account ID of the expected bucket owner.
    authentication:
      type: apikey
      key: Authorization
      value: '{{env.AMAZON_S3_API_KEY}}'
      placement: header
  exposes:
  - type: rest
    namespace: rest-tagging-rest
    port: 8080
    description: REST adapter for Amazon S3 REST API — Tagging. One Spectral-compliant resource per consumed operation, prefixed
      with /v1.
    resources:
    - path: /v1/bucket-tagging
      name: bucket-tagging
      description: REST surface for Bucket}?tagging.
      operations:
      - method: GET
        name: getbuckettagging
        description: Amazon S3 Get Bucket Tagging
        call: rest-tagging.getbuckettagging
        with:
          x-amz-expected-bucket-owner: rest.x-amz-expected-bucket-owner
        outputParameters:
        - type: object
          mapping: $.
      - method: PUT
        name: putbuckettagging
        description: Amazon S3 Put Bucket Tagging
        call: rest-tagging.putbuckettagging
        with:
          Content-MD5: rest.Content-MD5
          x-amz-expected-bucket-owner: rest.x-amz-expected-bucket-owner
          x-amz-checksum-algorithm: rest.x-amz-checksum-algorithm
          body: rest.body
        outputParameters:
        - type: object
          mapping: $.
      - method: DELETE
        name: deletebuckettagging
        description: Amazon S3 Delete Bucket Tagging
        call: rest-tagging.deletebuckettagging
        with:
          x-amz-expected-bucket-owner: rest.x-amz-expected-bucket-owner
        outputParameters:
        - type: object
          mapping: $.
  - type: mcp
    namespace: rest-tagging-mcp
    port: 9090
    transport: http
    description: MCP adapter for Amazon S3 REST API — Tagging. One tool per consumed operation, routed inline through this
      capability's consumes block.
    tools:
    - name: amazon-s3-get-bucket-tagging
      description: Amazon S3 Get Bucket Tagging
      hints:
        readOnly: true
        destructive: false
        idempotent: true
      call: rest-tagging.getbuckettagging
      with:
        x-amz-expected-bucket-owner: tools.x-amz-expected-bucket-owner
      outputParameters:
      - type: object
        mapping: $.
    - name: amazon-s3-put-bucket-tagging
      description: Amazon S3 Put Bucket Tagging
      hints:
        readOnly: false
        destructive: false
        idempotent: true
      call: rest-tagging.putbuckettagging
      with:
        Content-MD5: tools.Content-MD5
        x-amz-expected-bucket-owner: tools.x-amz-expected-bucket-owner
        x-amz-checksum-algorithm: tools.x-amz-checksum-algorithm
        body: tools.body
      outputParameters:
      - type: object
        mapping: $.
    - name: amazon-s3-delete-bucket-tagging
      description: Amazon S3 Delete Bucket Tagging
      hints:
        readOnly: false
        destructive: true
        idempotent: true
      call: rest-tagging.deletebuckettagging
      with:
        x-amz-expected-bucket-owner: tools.x-amz-expected-bucket-owner
      outputParameters:
      - type: object
        mapping: $.