naftiko: 1.0.0-alpha2 info: label: Netlify Netlify's API documentation — X-Internal description: 'Netlify Netlify''s API documentation — X-Internal. 3 operations. Lead operation: X-Internal. Self-contained Naftiko capability covering one Netlify business surface.' tags: - Netlify - X-Internal created: '2026-05-19' modified: '2026-05-19' binds: - namespace: env keys: NETLIFY_API_KEY: NETLIFY_API_KEY capability: consumes: - type: http namespace: netlify-x-internal baseUri: https://api.netlify.com/api/v1 description: Netlify Netlify's API documentation — X-Internal business capability. Self-contained, no shared references. resources: - name: deploys-deploy_id-plugin_runs path: /deploys/{deploy_id}/plugin_runs operations: - name: createpluginrun method: POST description: This is an internal-only endpoint. outputRawFormat: json outputParameters: - name: result type: object value: $. inputParameters: - name: deploy_id in: path type: string required: true - name: body in: body type: object description: Request body (JSON). required: false - name: sites-site_id-plugin_runs-latest path: /sites/{site_id}/plugin_runs/latest operations: - name: getlatestpluginruns method: GET description: This is an internal-only endpoint. outputRawFormat: json outputParameters: - name: result type: object value: $. inputParameters: - name: site_id in: path type: string required: true - name: packages in: query type: array required: true - name: state in: query type: string - name: sites-site_id-plugins-package path: /sites/{site_id}/plugins/{package} operations: - name: updateplugin method: PUT description: This is an internal-only endpoint. outputRawFormat: json outputParameters: - name: result type: object value: $. inputParameters: - name: site_id in: path type: string required: true - name: package in: path type: string required: true - name: body in: body type: object description: Request body (JSON). required: false authentication: type: bearer token: '{{env.NETLIFY_API_KEY}}' exposes: - type: rest namespace: netlify-x-internal-rest port: 8080 description: REST adapter for Netlify Netlify's API documentation — X-Internal. One Spectral-compliant resource per consumed operation, prefixed with /v1. resources: - path: /v1/deploys/{deploy-id}/plugin-runs name: deploys-deploy-id-plugin-runs description: REST surface for deploys-deploy_id-plugin_runs. operations: - method: POST name: createpluginrun description: This is an internal-only endpoint. call: netlify-x-internal.createpluginrun with: deploy_id: rest.deploy_id body: rest.body outputParameters: - type: object mapping: $. - path: /v1/sites/{site-id}/plugin-runs/latest name: sites-site-id-plugin-runs-latest description: REST surface for sites-site_id-plugin_runs-latest. operations: - method: GET name: getlatestpluginruns description: This is an internal-only endpoint. call: netlify-x-internal.getlatestpluginruns with: site_id: rest.site_id packages: rest.packages state: rest.state outputParameters: - type: object mapping: $. - path: /v1/sites/{site-id}/plugins/{package} name: sites-site-id-plugins-package description: REST surface for sites-site_id-plugins-package. operations: - method: PUT name: updateplugin description: This is an internal-only endpoint. call: netlify-x-internal.updateplugin with: site_id: rest.site_id package: rest.package body: rest.body outputParameters: - type: object mapping: $. - type: mcp namespace: netlify-x-internal-mcp port: 9090 transport: http description: MCP adapter for Netlify Netlify's API documentation — X-Internal. One tool per consumed operation, routed inline through this capability's consumes block. tools: - name: this-is-internal-only-endpoint description: This is an internal-only endpoint. hints: readOnly: false destructive: false idempotent: false call: netlify-x-internal.createpluginrun with: deploy_id: tools.deploy_id body: tools.body outputParameters: - type: object mapping: $. - name: this-is-internal-only-endpoint-2 description: This is an internal-only endpoint. hints: readOnly: true destructive: false idempotent: true call: netlify-x-internal.getlatestpluginruns with: site_id: tools.site_id packages: tools.packages state: tools.state outputParameters: - type: object mapping: $. - name: this-is-internal-only-endpoint-3 description: This is an internal-only endpoint. hints: readOnly: false destructive: false idempotent: true call: netlify-x-internal.updateplugin with: site_id: tools.site_id package: tools.package body: tools.body outputParameters: - type: object mapping: $.