naftiko: 1.0.0-alpha2 info: label: Webflow Data API — Custom Code - Sites description: 'Webflow Data API — Custom Code - Sites. 3 operations. Lead operation: Webflow Get Custom Code. Self-contained Naftiko capability covering one Webflow Api And Documentation Webflow business surface.' tags: - Webflow Api And Documentation Webflow - Custom Code - Sites created: '2026-05-19' modified: '2026-05-19' binds: - namespace: env keys: WEBFLOW_API_AND_DOCUMENTATION_WEBFLOW_API_KEY: WEBFLOW_API_AND_DOCUMENTATION_WEBFLOW_API_KEY capability: consumes: - type: http namespace: webflow-data-custom-code-sites baseUri: https://api.webflow.com/v2 description: Webflow Data API — Custom Code - Sites business capability. Self-contained, no shared references. resources: - name: sites-site_id-custom_code path: /sites/{site_id}/custom_code operations: - name: getsitecustomcode method: GET description: Webflow Get Custom Code outputRawFormat: json outputParameters: - name: result type: object value: $. inputParameters: - name: site_id in: path type: string description: Unique identifier for a Site required: true - name: deletesitecustomcode method: DELETE description: Webflow Delete Custom Code outputRawFormat: json outputParameters: - name: result type: object value: $. inputParameters: - name: site_id in: path type: string description: Unique identifier for a Site required: true - name: addcustomcodetosite method: PUT description: Webflow Add/Update Custom Code outputRawFormat: json outputParameters: - name: result type: object value: $. inputParameters: - name: site_id in: path type: string description: Unique identifier for a Site required: true - name: body in: body type: object description: Request body (JSON). required: false authentication: type: bearer token: '{{env.WEBFLOW_API_AND_DOCUMENTATION_WEBFLOW_API_KEY}}' exposes: - type: rest namespace: webflow-data-custom-code-sites-rest port: 8080 description: REST adapter for Webflow Data API — Custom Code - Sites. One Spectral-compliant resource per consumed operation, prefixed with /v1. resources: - path: /v1/sites/{site-id}/custom-code name: sites-site-id-custom-code description: REST surface for sites-site_id-custom_code. operations: - method: GET name: getsitecustomcode description: Webflow Get Custom Code call: webflow-data-custom-code-sites.getsitecustomcode with: site_id: rest.site_id outputParameters: - type: object mapping: $. - method: DELETE name: deletesitecustomcode description: Webflow Delete Custom Code call: webflow-data-custom-code-sites.deletesitecustomcode with: site_id: rest.site_id outputParameters: - type: object mapping: $. - method: PUT name: addcustomcodetosite description: Webflow Add/Update Custom Code call: webflow-data-custom-code-sites.addcustomcodetosite with: site_id: rest.site_id body: rest.body outputParameters: - type: object mapping: $. - type: mcp namespace: webflow-data-custom-code-sites-mcp port: 9090 transport: http description: MCP adapter for Webflow Data API — Custom Code - Sites. One tool per consumed operation, routed inline through this capability's consumes block. tools: - name: webflow-get-custom-code description: Webflow Get Custom Code hints: readOnly: true destructive: false idempotent: true call: webflow-data-custom-code-sites.getsitecustomcode with: site_id: tools.site_id outputParameters: - type: object mapping: $. - name: webflow-delete-custom-code description: Webflow Delete Custom Code hints: readOnly: false destructive: true idempotent: true call: webflow-data-custom-code-sites.deletesitecustomcode with: site_id: tools.site_id outputParameters: - type: object mapping: $. - name: webflow-add-update-custom-code description: Webflow Add/Update Custom Code hints: readOnly: false destructive: false idempotent: true call: webflow-data-custom-code-sites.addcustomcodetosite with: site_id: tools.site_id body: tools.body outputParameters: - type: object mapping: $.