naftiko: 1.0.0-alpha2 info: label: Webflow Data API — Custom Code - Pages description: 'Webflow Data API — Custom Code - Pages. 3 operations. Lead operation: Webflow Get Custom Code. Self-contained Naftiko capability covering one Webflow business surface.' tags: - Webflow - Custom Code - Pages created: '2026-05-19' modified: '2026-05-19' binds: - namespace: env keys: WEBFLOW_API_KEY: WEBFLOW_API_KEY capability: consumes: - type: http namespace: data-custom-code-pages baseUri: https://api.webflow.com/v2 description: Webflow Data API — Custom Code - Pages business capability. Self-contained, no shared references. resources: - name: pages-page_id-custom_code path: /pages/{page_id}/custom_code operations: - name: getpagecustomcode method: GET description: Webflow Get Custom Code outputRawFormat: json outputParameters: - name: result type: object value: $. inputParameters: - name: page_id in: path type: string description: Unique identifier for a Page required: true - name: deletepagecustomcode method: DELETE description: Webflow Delete Custom Code outputRawFormat: json outputParameters: - name: result type: object value: $. inputParameters: - name: page_id in: path type: string description: Unique identifier for a Page required: true - name: addcustomcodetopage method: PUT description: Webflow Add/Update Custom Code outputRawFormat: json outputParameters: - name: result type: object value: $. inputParameters: - name: page_id in: path type: string description: Unique identifier for a Page required: true - name: body in: body type: object description: Request body (JSON). required: false authentication: type: bearer token: '{{env.WEBFLOW_API_KEY}}' exposes: - type: rest namespace: data-custom-code-pages-rest port: 8080 description: REST adapter for Webflow Data API — Custom Code - Pages. One Spectral-compliant resource per consumed operation, prefixed with /v1. resources: - path: /v1/pages/{page-id}/custom-code name: pages-page-id-custom-code description: REST surface for pages-page_id-custom_code. operations: - method: GET name: getpagecustomcode description: Webflow Get Custom Code call: data-custom-code-pages.getpagecustomcode with: page_id: rest.page_id outputParameters: - type: object mapping: $. - method: DELETE name: deletepagecustomcode description: Webflow Delete Custom Code call: data-custom-code-pages.deletepagecustomcode with: page_id: rest.page_id outputParameters: - type: object mapping: $. - method: PUT name: addcustomcodetopage description: Webflow Add/Update Custom Code call: data-custom-code-pages.addcustomcodetopage with: page_id: rest.page_id body: rest.body outputParameters: - type: object mapping: $. - type: mcp namespace: data-custom-code-pages-mcp port: 9090 transport: http description: MCP adapter for Webflow Data API — Custom Code - Pages. 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: data-custom-code-pages.getpagecustomcode with: page_id: tools.page_id outputParameters: - type: object mapping: $. - name: webflow-delete-custom-code description: Webflow Delete Custom Code hints: readOnly: false destructive: true idempotent: true call: data-custom-code-pages.deletepagecustomcode with: page_id: tools.page_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: data-custom-code-pages.addcustomcodetopage with: page_id: tools.page_id body: tools.body outputParameters: - type: object mapping: $.