Zendesk · Capability

Zendesk Attachments — Attachments

Zendesk Attachments — Attachments. 3 operations. Lead operation: Zendesk Get Api V2 Attachments Attachment_id. Self-contained Naftiko capability covering one Zendesk business surface.

Run with Naftiko ZendeskAttachments

What You Can Do

GET
Showattachment — Zendesk Get Api V2 Attachments Attachment_id
/v1/api/v2/attachments/{attachment-id}
PUT
Updateattachment — Zendesk Put Api V2 Attachments Attachment_id
/v1/api/v2/attachments/{attachment-id}
PUT
Redactcommentattachment — Zendesk Put Api V2 Tickets Ticket_id Comments Comment_id Attachments Attachment_id Redact
/v1/api/v2/tickets/{ticket-id}/comments/{comment-id}/attachments/{attachment-id}/redact

MCP Tools

zendesk-get-api-v2-attachments

Zendesk Get Api V2 Attachments Attachment_id

read-only idempotent
zendesk-put-api-v2-attachments

Zendesk Put Api V2 Attachments Attachment_id

idempotent
zendesk-put-api-v2-tickets

Zendesk Put Api V2 Tickets Ticket_id Comments Comment_id Attachments Attachment_id Redact

idempotent

Capability Spec

attachments-attachments.yaml Raw ↑
naftiko: 1.0.0-alpha2
info:
  label: Zendesk Attachments — Attachments
  description: 'Zendesk Attachments — Attachments. 3 operations. Lead operation: Zendesk Get  Api V2 Attachments Attachment_id.
    Self-contained Naftiko capability covering one Zendesk business surface.'
  tags:
  - Zendesk
  - Attachments
  created: '2026-05-19'
  modified: '2026-05-19'
binds:
- namespace: env
  keys:
    ZENDESK_API_KEY: ZENDESK_API_KEY
capability:
  consumes:
  - type: http
    namespace: attachments-attachments
    baseUri: ''
    description: Zendesk Attachments — Attachments business capability. Self-contained, no shared references.
    resources:
    - name: api-v2-attachments-attachment_id
      path: /api/v2/attachments/{attachment_id}
      operations:
      - name: showattachment
        method: GET
        description: Zendesk Get  Api V2 Attachments Attachment_id
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
      - name: updateattachment
        method: PUT
        description: Zendesk Put  Api V2 Attachments Attachment_id
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
        inputParameters:
        - name: body
          in: body
          type: object
          description: Request body (JSON).
          required: false
    - name: api-v2-tickets-ticket_id-comments-comment_id-attachments-attachment_id-redact
      path: /api/v2/tickets/{ticket_id}/comments/{comment_id}/attachments/{attachment_id}/redact
      operations:
      - name: redactcommentattachment
        method: PUT
        description: Zendesk Put  Api V2 Tickets Ticket_id Comments Comment_id Attachments Attachment_id Redact
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
  exposes:
  - type: rest
    namespace: attachments-attachments-rest
    port: 8080
    description: REST adapter for Zendesk Attachments — Attachments. One Spectral-compliant resource per consumed operation,
      prefixed with /v1.
    resources:
    - path: /v1/api/v2/attachments/{attachment-id}
      name: api-v2-attachments-attachment-id
      description: REST surface for api-v2-attachments-attachment_id.
      operations:
      - method: GET
        name: showattachment
        description: Zendesk Get  Api V2 Attachments Attachment_id
        call: attachments-attachments.showattachment
        outputParameters:
        - type: object
          mapping: $.
      - method: PUT
        name: updateattachment
        description: Zendesk Put  Api V2 Attachments Attachment_id
        call: attachments-attachments.updateattachment
        with:
          body: rest.body
        outputParameters:
        - type: object
          mapping: $.
    - path: /v1/api/v2/tickets/{ticket-id}/comments/{comment-id}/attachments/{attachment-id}/redact
      name: api-v2-tickets-ticket-id-comments-comment-id-attachments-attachment-id-redact
      description: REST surface for api-v2-tickets-ticket_id-comments-comment_id-attachments-attachment_id-redact.
      operations:
      - method: PUT
        name: redactcommentattachment
        description: Zendesk Put  Api V2 Tickets Ticket_id Comments Comment_id Attachments Attachment_id Redact
        call: attachments-attachments.redactcommentattachment
        outputParameters:
        - type: object
          mapping: $.
  - type: mcp
    namespace: attachments-attachments-mcp
    port: 9090
    transport: http
    description: MCP adapter for Zendesk Attachments — Attachments. One tool per consumed operation, routed inline through
      this capability's consumes block.
    tools:
    - name: zendesk-get-api-v2-attachments
      description: Zendesk Get  Api V2 Attachments Attachment_id
      hints:
        readOnly: true
        destructive: false
        idempotent: true
      call: attachments-attachments.showattachment
      outputParameters:
      - type: object
        mapping: $.
    - name: zendesk-put-api-v2-attachments
      description: Zendesk Put  Api V2 Attachments Attachment_id
      hints:
        readOnly: false
        destructive: false
        idempotent: true
      call: attachments-attachments.updateattachment
      with:
        body: tools.body
      outputParameters:
      - type: object
        mapping: $.
    - name: zendesk-put-api-v2-tickets
      description: Zendesk Put  Api V2 Tickets Ticket_id Comments Comment_id Attachments Attachment_id Redact
      hints:
        readOnly: false
        destructive: false
        idempotent: true
      call: attachments-attachments.redactcommentattachment
      outputParameters:
      - type: object
        mapping: $.