naftiko: 1.0.0-alpha2 info: label: Netlify Netlify's API documentation — buildHook description: 'Netlify Netlify''s API documentation — buildHook. 5 operations. Lead operation: buildHook. Self-contained Naftiko capability covering one Netlify business surface.' tags: - Netlify - buildHook created: '2026-05-19' modified: '2026-05-19' binds: - namespace: env keys: NETLIFY_API_KEY: NETLIFY_API_KEY capability: consumes: - type: http namespace: netlify-buildhook baseUri: https://api.netlify.com/api/v1 description: Netlify Netlify's API documentation — buildHook business capability. Self-contained, no shared references. resources: - name: sites-site_id-build_hooks path: /sites/{site_id}/build_hooks operations: - name: listsitebuildhooks method: GET description: '' outputRawFormat: json outputParameters: - name: result type: object value: $. inputParameters: - name: site_id in: path type: string required: true - name: createsitebuildhook method: POST description: '' outputRawFormat: json outputParameters: - name: result type: object value: $. inputParameters: - name: site_id in: path type: string required: true - name: body in: body type: object description: Request body (JSON). required: true - name: sites-site_id-build_hooks-id path: /sites/{site_id}/build_hooks/{id} operations: - name: getsitebuildhook method: GET description: '' outputRawFormat: json outputParameters: - name: result type: object value: $. inputParameters: - name: site_id in: path type: string required: true - name: id in: path type: string required: true - name: updatesitebuildhook method: PUT description: '' outputRawFormat: json outputParameters: - name: result type: object value: $. inputParameters: - name: site_id in: path type: string required: true - name: id in: path type: string required: true - name: body in: body type: object description: Request body (JSON). required: true - name: deletesitebuildhook method: DELETE description: '' outputRawFormat: json outputParameters: - name: result type: object value: $. inputParameters: - name: site_id in: path type: string required: true - name: id in: path type: string required: true authentication: type: bearer token: '{{env.NETLIFY_API_KEY}}' exposes: - type: rest namespace: netlify-buildhook-rest port: 8080 description: REST adapter for Netlify Netlify's API documentation — buildHook. One Spectral-compliant resource per consumed operation, prefixed with /v1. resources: - path: /v1/sites/{site-id}/build-hooks name: sites-site-id-build-hooks description: REST surface for sites-site_id-build_hooks. operations: - method: GET name: listsitebuildhooks description: listsitebuildhooks call: netlify-buildhook.listsitebuildhooks with: site_id: rest.site_id outputParameters: - type: object mapping: $. - method: POST name: createsitebuildhook description: createsitebuildhook call: netlify-buildhook.createsitebuildhook with: site_id: rest.site_id body: rest.body outputParameters: - type: object mapping: $. - path: /v1/sites/{site-id}/build-hooks/{id} name: sites-site-id-build-hooks-id description: REST surface for sites-site_id-build_hooks-id. operations: - method: GET name: getsitebuildhook description: getsitebuildhook call: netlify-buildhook.getsitebuildhook with: site_id: rest.site_id id: rest.id outputParameters: - type: object mapping: $. - method: PUT name: updatesitebuildhook description: updatesitebuildhook call: netlify-buildhook.updatesitebuildhook with: site_id: rest.site_id id: rest.id body: rest.body outputParameters: - type: object mapping: $. - method: DELETE name: deletesitebuildhook description: deletesitebuildhook call: netlify-buildhook.deletesitebuildhook with: site_id: rest.site_id id: rest.id outputParameters: - type: object mapping: $. - type: mcp namespace: netlify-buildhook-mcp port: 9090 transport: http description: MCP adapter for Netlify Netlify's API documentation — buildHook. One tool per consumed operation, routed inline through this capability's consumes block. tools: - name: listsitebuildhooks description: listsitebuildhooks hints: readOnly: true destructive: false idempotent: true call: netlify-buildhook.listsitebuildhooks with: site_id: tools.site_id outputParameters: - type: object mapping: $. - name: createsitebuildhook description: createsitebuildhook hints: readOnly: false destructive: false idempotent: false call: netlify-buildhook.createsitebuildhook with: site_id: tools.site_id body: tools.body outputParameters: - type: object mapping: $. - name: getsitebuildhook description: getsitebuildhook hints: readOnly: true destructive: false idempotent: true call: netlify-buildhook.getsitebuildhook with: site_id: tools.site_id id: tools.id outputParameters: - type: object mapping: $. - name: updatesitebuildhook description: updatesitebuildhook hints: readOnly: false destructive: false idempotent: true call: netlify-buildhook.updatesitebuildhook with: site_id: tools.site_id id: tools.id body: tools.body outputParameters: - type: object mapping: $. - name: deletesitebuildhook description: deletesitebuildhook hints: readOnly: false destructive: true idempotent: true call: netlify-buildhook.deletesitebuildhook with: site_id: tools.site_id id: tools.id outputParameters: - type: object mapping: $.