naftiko: 1.0.0-alpha2 info: label: Cvent REST APIs — Hooks description: 'Cvent REST APIs — Hooks. 4 operations. Lead operation: List Contact Hooks. Self-contained Naftiko capability covering one business surface.' tags: - Cvent - Hooks created: '2026-05-20' modified: '2026-05-20' binds: - namespace: env keys: CVENT_API_KEY: CVENT_API_KEY capability: consumes: - type: http namespace: rest-hooks baseUri: https://api-platform.cvent.com/ea description: Cvent REST APIs — Hooks business capability. Self-contained, no shared references. resources: - name: contacts-hooks path: /contacts/hooks operations: - name: listcontacthooks method: GET description: List Contact Hooks outputRawFormat: json outputParameters: - name: result type: object value: $. inputParameters: - name: filter in: query type: string description: 'A filter query string narrows search results and supports the combination of logical and comparison operators. The filter adheres to the pattern filter=''field'' comparisonType ''value''. There are two c' - name: createcontacthook method: POST description: Create Contact Hook outputRawFormat: json outputParameters: - name: result type: object value: $. inputParameters: - name: body in: body type: object description: Request body (JSON). required: false - name: contacts-hooks-id path: /contacts/hooks/{id} operations: - name: updatecontacthook method: PUT description: Update Contact Hook outputRawFormat: json outputParameters: - name: result type: object value: $. inputParameters: - name: id in: path type: string description: Path parameter id. required: true - name: body in: body type: object description: Request body (JSON). required: false - name: deletecontacthook method: DELETE description: Delete Contact Hook outputRawFormat: json outputParameters: - name: result type: object value: $. inputParameters: - name: id in: path type: string description: Path parameter id. required: true exposes: - type: rest namespace: rest-hooks-rest port: 8080 description: REST adapter for Cvent REST APIs — Hooks. One resource per consumed operation, prefixed with /v1. resources: - path: /v1/contacts/hooks name: contacts-hooks description: REST surface for contacts-hooks. operations: - method: GET name: listcontacthooks description: List Contact Hooks call: rest-hooks.listcontacthooks with: filter: rest.filter outputParameters: - type: object mapping: $. - method: POST name: createcontacthook description: Create Contact Hook call: rest-hooks.createcontacthook with: body: rest.body outputParameters: - type: object mapping: $. - path: /v1/contacts/hooks/{id} name: contacts-hooks-id description: REST surface for contacts-hooks-id. operations: - method: PUT name: updatecontacthook description: Update Contact Hook call: rest-hooks.updatecontacthook with: id: rest.id body: rest.body outputParameters: - type: object mapping: $. - method: DELETE name: deletecontacthook description: Delete Contact Hook call: rest-hooks.deletecontacthook with: id: rest.id outputParameters: - type: object mapping: $. - type: mcp namespace: rest-hooks-mcp port: 9090 transport: http description: MCP adapter for Cvent REST APIs — Hooks. One tool per consumed operation, routed inline through this capability's consumes block. tools: - name: cvent-listcontacthooks description: List Contact Hooks hints: readOnly: true destructive: false idempotent: true call: rest-hooks.listcontacthooks with: filter: tools.filter outputParameters: - type: object mapping: $. - name: cvent-createcontacthook description: Create Contact Hook hints: readOnly: false destructive: false idempotent: false call: rest-hooks.createcontacthook with: body: tools.body outputParameters: - type: object mapping: $. - name: cvent-updatecontacthook description: Update Contact Hook hints: readOnly: false destructive: false idempotent: true call: rest-hooks.updatecontacthook with: id: tools.id body: tools.body outputParameters: - type: object mapping: $. - name: cvent-deletecontacthook description: Delete Contact Hook hints: readOnly: false destructive: true idempotent: true call: rest-hooks.deletecontacthook with: id: tools.id outputParameters: - type: object mapping: $.