naftiko: 1.0.0-alpha2 info: label: Zendesk Attachments — Macros description: 'Zendesk Attachments — Macros. 4 operations. Lead operation: Zendesk Post Api V2 Macros Attachments. Self-contained Naftiko capability covering one Zendesk business surface.' tags: - Zendesk - Macros created: '2026-05-19' modified: '2026-05-19' binds: - namespace: env keys: ZENDESK_API_KEY: ZENDESK_API_KEY capability: consumes: - type: http namespace: attachments-macros baseUri: '' description: Zendesk Attachments — Macros business capability. Self-contained, no shared references. resources: - name: api-v2-macros-attachments path: /api/v2/macros/attachments operations: - name: createmacroattachment method: POST description: Zendesk Post Api V2 Macros Attachments outputRawFormat: json outputParameters: - name: result type: object value: $. - name: api-v2-macros-attachments-attachment_id path: /api/v2/macros/attachments/{attachment_id} operations: - name: showmacroattachment method: GET description: Zendesk Get Api V2 Macros Attachments Attachment_id outputRawFormat: json outputParameters: - name: result type: object value: $. - name: api-v2-macros-macro_id-attachments path: /api/v2/macros/{macro_id}/attachments operations: - name: listmacroattachments method: GET description: Zendesk Get Api V2 Macros Macro_id Attachments outputRawFormat: json outputParameters: - name: result type: object value: $. - name: createassociatedmacroattachment method: POST description: Zendesk Post Api V2 Macros Macro_id Attachments outputRawFormat: json outputParameters: - name: result type: object value: $. exposes: - type: rest namespace: attachments-macros-rest port: 8080 description: REST adapter for Zendesk Attachments — Macros. One Spectral-compliant resource per consumed operation, prefixed with /v1. resources: - path: /v1/api/v2/macros/attachments name: api-v2-macros-attachments description: REST surface for api-v2-macros-attachments. operations: - method: POST name: createmacroattachment description: Zendesk Post Api V2 Macros Attachments call: attachments-macros.createmacroattachment outputParameters: - type: object mapping: $. - path: /v1/api/v2/macros/attachments/{attachment-id} name: api-v2-macros-attachments-attachment-id description: REST surface for api-v2-macros-attachments-attachment_id. operations: - method: GET name: showmacroattachment description: Zendesk Get Api V2 Macros Attachments Attachment_id call: attachments-macros.showmacroattachment outputParameters: - type: object mapping: $. - path: /v1/api/v2/macros/{macro-id}/attachments name: api-v2-macros-macro-id-attachments description: REST surface for api-v2-macros-macro_id-attachments. operations: - method: GET name: listmacroattachments description: Zendesk Get Api V2 Macros Macro_id Attachments call: attachments-macros.listmacroattachments outputParameters: - type: object mapping: $. - method: POST name: createassociatedmacroattachment description: Zendesk Post Api V2 Macros Macro_id Attachments call: attachments-macros.createassociatedmacroattachment outputParameters: - type: object mapping: $. - type: mcp namespace: attachments-macros-mcp port: 9090 transport: http description: MCP adapter for Zendesk Attachments — Macros. One tool per consumed operation, routed inline through this capability's consumes block. tools: - name: zendesk-post-api-v2-macros description: Zendesk Post Api V2 Macros Attachments hints: readOnly: false destructive: false idempotent: false call: attachments-macros.createmacroattachment outputParameters: - type: object mapping: $. - name: zendesk-get-api-v2-macros description: Zendesk Get Api V2 Macros Attachments Attachment_id hints: readOnly: true destructive: false idempotent: true call: attachments-macros.showmacroattachment outputParameters: - type: object mapping: $. - name: zendesk-get-api-v2-macros-2 description: Zendesk Get Api V2 Macros Macro_id Attachments hints: readOnly: true destructive: false idempotent: true call: attachments-macros.listmacroattachments outputParameters: - type: object mapping: $. - name: zendesk-post-api-v2-macros-2 description: Zendesk Post Api V2 Macros Macro_id Attachments hints: readOnly: false destructive: false idempotent: false call: attachments-macros.createassociatedmacroattachment outputParameters: - type: object mapping: $.