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