naftiko: 1.0.0-alpha2 info: label: Zendesk Macros — Macros description: 'Zendesk Macros — Macros. 19 operations. Lead operation: Zendesk Get Api V2 Macros. 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: macros-macros baseUri: '' description: Zendesk Macros — Macros business capability. Self-contained, no shared references. resources: - name: api-v2-macros path: /api/v2/macros operations: - name: listmacros method: GET description: Zendesk Get Api V2 Macros outputRawFormat: json outputParameters: - name: result type: object value: $. - name: createmacro method: POST description: Zendesk Post Api V2 Macros outputRawFormat: json outputParameters: - name: result type: object value: $. inputParameters: - name: body in: body type: object description: Request body (JSON). required: false - name: api-v2-macros-actions path: /api/v2/macros/actions operations: - name: listmacrosactions method: GET description: Zendesk Get Api V2 Macros Actions outputRawFormat: json outputParameters: - name: result type: object value: $. - name: api-v2-macros-active path: /api/v2/macros/active operations: - name: listactivemacros method: GET description: Zendesk Get Api V2 Macros Active outputRawFormat: json outputParameters: - name: result type: object value: $. - 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-categories path: /api/v2/macros/categories operations: - name: listmacrocategories method: GET description: Zendesk Get Api V2 Macros Categories outputRawFormat: json outputParameters: - name: result type: object value: $. - name: api-v2-macros-definitions path: /api/v2/macros/definitions operations: - name: listmacroactiondefinitions method: GET description: Zendesk Get Api V2 Macros Definitions outputRawFormat: json outputParameters: - name: result type: object value: $. - name: api-v2-macros-destroy_many path: /api/v2/macros/destroy_many operations: - name: deletemanymacros method: DELETE description: Zendesk Delete Api V2 Macros Destroy_many outputRawFormat: json outputParameters: - name: result type: object value: $. inputParameters: - name: ids in: query type: array description: The IDs of the macros to delete required: true - name: api-v2-macros-new path: /api/v2/macros/new operations: - name: showderivedmacro method: GET description: Zendesk Get Api V2 Macros New outputRawFormat: json outputParameters: - name: result type: object value: $. - name: api-v2-macros-search path: /api/v2/macros/search operations: - name: searchmacro method: GET description: Zendesk Get Api V2 Macros Search outputRawFormat: json outputParameters: - name: result type: object value: $. - name: api-v2-macros-update_many path: /api/v2/macros/update_many operations: - name: updatemanymacros method: PUT description: Zendesk Put Api V2 Macros Update_many outputRawFormat: json outputParameters: - name: result type: object value: $. inputParameters: - name: body in: body type: object description: Request body (JSON). required: false - name: api-v2-macros-macro_id path: /api/v2/macros/{macro_id} operations: - name: showmacro method: GET description: Zendesk Get Api V2 Macros Macro_id outputRawFormat: json outputParameters: - name: result type: object value: $. - name: updatemacro method: PUT description: Zendesk Put Api V2 Macros Macro_id outputRawFormat: json outputParameters: - name: result type: object value: $. inputParameters: - name: body in: body type: object description: Request body (JSON). required: false - name: deletemacro method: DELETE description: Zendesk Delete Api V2 Macros Macro_id outputRawFormat: json outputParameters: - name: result type: object value: $. - name: api-v2-macros-macro_id-apply path: /api/v2/macros/{macro_id}/apply operations: - name: showchangestoticket method: GET description: Zendesk Get Api V2 Macros Macro_id Apply 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: $. - name: api-v2-tickets-ticket_id-macros-macro_id-apply path: /api/v2/tickets/{ticket_id}/macros/{macro_id}/apply operations: - name: showticketafterchanges method: GET description: Zendesk Get Api V2 Tickets Ticket_id Macros Macro_id Apply outputRawFormat: json outputParameters: - name: result type: object value: $. exposes: - type: rest namespace: macros-macros-rest port: 8080 description: REST adapter for Zendesk Macros — Macros. One Spectral-compliant resource per consumed operation, prefixed with /v1. resources: - path: /v1/api/v2/macros name: api-v2-macros description: REST surface for api-v2-macros. operations: - method: GET name: listmacros description: Zendesk Get Api V2 Macros call: macros-macros.listmacros outputParameters: - type: object mapping: $. - method: POST name: createmacro description: Zendesk Post Api V2 Macros call: macros-macros.createmacro with: body: rest.body outputParameters: - type: object mapping: $. - path: /v1/api/v2/macros/actions name: api-v2-macros-actions description: REST surface for api-v2-macros-actions. operations: - method: GET name: listmacrosactions description: Zendesk Get Api V2 Macros Actions call: macros-macros.listmacrosactions outputParameters: - type: object mapping: $. - path: /v1/api/v2/macros/active name: api-v2-macros-active description: REST surface for api-v2-macros-active. operations: - method: GET name: listactivemacros description: Zendesk Get Api V2 Macros Active call: macros-macros.listactivemacros outputParameters: - type: object mapping: $. - 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: macros-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: macros-macros.showmacroattachment outputParameters: - type: object mapping: $. - path: /v1/api/v2/macros/categories name: api-v2-macros-categories description: REST surface for api-v2-macros-categories. operations: - method: GET name: listmacrocategories description: Zendesk Get Api V2 Macros Categories call: macros-macros.listmacrocategories outputParameters: - type: object mapping: $. - path: /v1/api/v2/macros/definitions name: api-v2-macros-definitions description: REST surface for api-v2-macros-definitions. operations: - method: GET name: listmacroactiondefinitions description: Zendesk Get Api V2 Macros Definitions call: macros-macros.listmacroactiondefinitions outputParameters: - type: object mapping: $. - path: /v1/api/v2/macros/destroy-many name: api-v2-macros-destroy-many description: REST surface for api-v2-macros-destroy_many. operations: - method: DELETE name: deletemanymacros description: Zendesk Delete Api V2 Macros Destroy_many call: macros-macros.deletemanymacros with: ids: rest.ids outputParameters: - type: object mapping: $. - path: /v1/api/v2/macros/new name: api-v2-macros-new description: REST surface for api-v2-macros-new. operations: - method: GET name: showderivedmacro description: Zendesk Get Api V2 Macros New call: macros-macros.showderivedmacro outputParameters: - type: object mapping: $. - path: /v1/api/v2/macros/search name: api-v2-macros-search description: REST surface for api-v2-macros-search. operations: - method: GET name: searchmacro description: Zendesk Get Api V2 Macros Search call: macros-macros.searchmacro outputParameters: - type: object mapping: $. - path: /v1/api/v2/macros/update-many name: api-v2-macros-update-many description: REST surface for api-v2-macros-update_many. operations: - method: PUT name: updatemanymacros description: Zendesk Put Api V2 Macros Update_many call: macros-macros.updatemanymacros with: body: rest.body outputParameters: - type: object mapping: $. - path: /v1/api/v2/macros/{macro-id} name: api-v2-macros-macro-id description: REST surface for api-v2-macros-macro_id. operations: - method: GET name: showmacro description: Zendesk Get Api V2 Macros Macro_id call: macros-macros.showmacro outputParameters: - type: object mapping: $. - method: PUT name: updatemacro description: Zendesk Put Api V2 Macros Macro_id call: macros-macros.updatemacro with: body: rest.body outputParameters: - type: object mapping: $. - method: DELETE name: deletemacro description: Zendesk Delete Api V2 Macros Macro_id call: macros-macros.deletemacro outputParameters: - type: object mapping: $. - path: /v1/api/v2/macros/{macro-id}/apply name: api-v2-macros-macro-id-apply description: REST surface for api-v2-macros-macro_id-apply. operations: - method: GET name: showchangestoticket description: Zendesk Get Api V2 Macros Macro_id Apply call: macros-macros.showchangestoticket 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: macros-macros.listmacroattachments outputParameters: - type: object mapping: $. - method: POST name: createassociatedmacroattachment description: Zendesk Post Api V2 Macros Macro_id Attachments call: macros-macros.createassociatedmacroattachment outputParameters: - type: object mapping: $. - path: /v1/api/v2/tickets/{ticket-id}/macros/{macro-id}/apply name: api-v2-tickets-ticket-id-macros-macro-id-apply description: REST surface for api-v2-tickets-ticket_id-macros-macro_id-apply. operations: - method: GET name: showticketafterchanges description: Zendesk Get Api V2 Tickets Ticket_id Macros Macro_id Apply call: macros-macros.showticketafterchanges outputParameters: - type: object mapping: $. - type: mcp namespace: macros-macros-mcp port: 9090 transport: http description: MCP adapter for Zendesk Macros — Macros. One tool per consumed operation, routed inline through this capability's consumes block. tools: - name: zendesk-get-api-v2-macros description: Zendesk Get Api V2 Macros hints: readOnly: true destructive: false idempotent: true call: macros-macros.listmacros outputParameters: - type: object mapping: $. - name: zendesk-post-api-v2-macros description: Zendesk Post Api V2 Macros hints: readOnly: false destructive: false idempotent: false call: macros-macros.createmacro with: body: tools.body outputParameters: - type: object mapping: $. - name: zendesk-get-api-v2-macros-2 description: Zendesk Get Api V2 Macros Actions hints: readOnly: true destructive: false idempotent: true call: macros-macros.listmacrosactions outputParameters: - type: object mapping: $. - name: zendesk-get-api-v2-macros-3 description: Zendesk Get Api V2 Macros Active hints: readOnly: true destructive: false idempotent: true call: macros-macros.listactivemacros outputParameters: - type: object mapping: $. - name: zendesk-post-api-v2-macros-2 description: Zendesk Post Api V2 Macros Attachments hints: readOnly: false destructive: false idempotent: false call: macros-macros.createmacroattachment outputParameters: - type: object mapping: $. - name: zendesk-get-api-v2-macros-4 description: Zendesk Get Api V2 Macros Attachments Attachment_id hints: readOnly: true destructive: false idempotent: true call: macros-macros.showmacroattachment outputParameters: - type: object mapping: $. - name: zendesk-get-api-v2-macros-5 description: Zendesk Get Api V2 Macros Categories hints: readOnly: true destructive: false idempotent: true call: macros-macros.listmacrocategories outputParameters: - type: object mapping: $. - name: zendesk-get-api-v2-macros-6 description: Zendesk Get Api V2 Macros Definitions hints: readOnly: true destructive: false idempotent: true call: macros-macros.listmacroactiondefinitions outputParameters: - type: object mapping: $. - name: zendesk-delete-api-v2-macros description: Zendesk Delete Api V2 Macros Destroy_many hints: readOnly: false destructive: true idempotent: true call: macros-macros.deletemanymacros with: ids: tools.ids outputParameters: - type: object mapping: $. - name: zendesk-get-api-v2-macros-7 description: Zendesk Get Api V2 Macros New hints: readOnly: true destructive: false idempotent: true call: macros-macros.showderivedmacro outputParameters: - type: object mapping: $. - name: zendesk-get-api-v2-macros-8 description: Zendesk Get Api V2 Macros Search hints: readOnly: true destructive: false idempotent: true call: macros-macros.searchmacro outputParameters: - type: object mapping: $. - name: zendesk-put-api-v2-macros description: Zendesk Put Api V2 Macros Update_many hints: readOnly: false destructive: false idempotent: true call: macros-macros.updatemanymacros with: body: tools.body outputParameters: - type: object mapping: $. - name: zendesk-get-api-v2-macros-9 description: Zendesk Get Api V2 Macros Macro_id hints: readOnly: true destructive: false idempotent: true call: macros-macros.showmacro outputParameters: - type: object mapping: $. - name: zendesk-put-api-v2-macros-2 description: Zendesk Put Api V2 Macros Macro_id hints: readOnly: false destructive: false idempotent: true call: macros-macros.updatemacro with: body: tools.body outputParameters: - type: object mapping: $. - name: zendesk-delete-api-v2-macros-2 description: Zendesk Delete Api V2 Macros Macro_id hints: readOnly: false destructive: true idempotent: true call: macros-macros.deletemacro outputParameters: - type: object mapping: $. - name: zendesk-get-api-v2-macros-10 description: Zendesk Get Api V2 Macros Macro_id Apply hints: readOnly: true destructive: false idempotent: true call: macros-macros.showchangestoticket outputParameters: - type: object mapping: $. - name: zendesk-get-api-v2-macros-11 description: Zendesk Get Api V2 Macros Macro_id Attachments hints: readOnly: true destructive: false idempotent: true call: macros-macros.listmacroattachments outputParameters: - type: object mapping: $. - name: zendesk-post-api-v2-macros-3 description: Zendesk Post Api V2 Macros Macro_id Attachments hints: readOnly: false destructive: false idempotent: false call: macros-macros.createassociatedmacroattachment outputParameters: - type: object mapping: $. - name: zendesk-get-api-v2-tickets description: Zendesk Get Api V2 Tickets Ticket_id Macros Macro_id Apply hints: readOnly: true destructive: false idempotent: true call: macros-macros.showticketafterchanges outputParameters: - type: object mapping: $.