naftiko: 1.0.0-alpha2 info: label: Cloudflare Logpush API — Ownership description: 'Cloudflare Logpush API — Ownership. 2 operations. Lead operation: Cloudflare Validate Ownership. Self-contained Naftiko capability covering one Cloudflare business surface.' tags: - Cloudflare - Ownership created: '2026-05-19' modified: '2026-05-19' binds: - namespace: env keys: CLOUDFLARE_API_KEY: CLOUDFLARE_API_KEY capability: consumes: - type: http namespace: logpush-ownership baseUri: https://api.cloudflare.com/client/v4 description: Cloudflare Logpush API — Ownership business capability. Self-contained, no shared references. resources: - name: zones-zone_id-logpush-ownership path: /zones/{zone_id}/logpush/ownership operations: - name: validatelogpushownership method: POST description: Cloudflare Validate Ownership outputRawFormat: json outputParameters: - name: result type: object value: $. inputParameters: - name: body in: body type: object description: Request body (JSON). required: true - name: zones-zone_id-logpush-ownership-validate path: /zones/{zone_id}/logpush/ownership/validate operations: - name: confirmlogpushownership method: POST description: Cloudflare Confirm Ownership outputRawFormat: json outputParameters: - name: result type: object value: $. inputParameters: - name: body in: body type: object description: Request body (JSON). required: true authentication: type: bearer token: '{{env.CLOUDFLARE_API_KEY}}' exposes: - type: rest namespace: logpush-ownership-rest port: 8080 description: REST adapter for Cloudflare Logpush API — Ownership. One Spectral-compliant resource per consumed operation, prefixed with /v1. resources: - path: /v1/zones/{zone-id}/logpush/ownership name: zones-zone-id-logpush-ownership description: REST surface for zones-zone_id-logpush-ownership. operations: - method: POST name: validatelogpushownership description: Cloudflare Validate Ownership call: logpush-ownership.validatelogpushownership with: body: rest.body outputParameters: - type: object mapping: $. - path: /v1/zones/{zone-id}/logpush/ownership/validate name: zones-zone-id-logpush-ownership-validate description: REST surface for zones-zone_id-logpush-ownership-validate. operations: - method: POST name: confirmlogpushownership description: Cloudflare Confirm Ownership call: logpush-ownership.confirmlogpushownership with: body: rest.body outputParameters: - type: object mapping: $. - type: mcp namespace: logpush-ownership-mcp port: 9090 transport: http description: MCP adapter for Cloudflare Logpush API — Ownership. One tool per consumed operation, routed inline through this capability's consumes block. tools: - name: cloudflare-validate-ownership description: Cloudflare Validate Ownership hints: readOnly: true destructive: false idempotent: false call: logpush-ownership.validatelogpushownership with: body: tools.body outputParameters: - type: object mapping: $. - name: cloudflare-confirm-ownership description: Cloudflare Confirm Ownership hints: readOnly: false destructive: false idempotent: false call: logpush-ownership.confirmlogpushownership with: body: tools.body outputParameters: - type: object mapping: $.