naftiko: 1.0.0-alpha2 info: label: Prisma Accelerate API — Cache description: 'Prisma Accelerate API — Cache. 2 operations. Lead operation: Prisma Invalidate cache entries by tags. Self-contained Naftiko capability covering one Prisma business surface.' tags: - Prisma - Cache created: '2026-05-19' modified: '2026-05-19' binds: - namespace: env keys: PRISMA_API_KEY: PRISMA_API_KEY capability: consumes: - type: http namespace: accelerate-cache baseUri: https://accelerate.prisma-data.net description: Prisma Accelerate API — Cache business capability. Self-contained, no shared references. resources: - name: invalidate path: /invalidate operations: - name: invalidatecachebytags method: POST description: Prisma Invalidate cache entries by tags outputRawFormat: json outputParameters: - name: result type: object value: $. inputParameters: - name: body in: body type: object description: Request body (JSON). required: true - name: invalidate-all path: /invalidate-all operations: - name: invalidateallcache method: POST description: Prisma Invalidate all cache entries outputRawFormat: json outputParameters: - name: result type: object value: $. authentication: type: apikey key: Authorization value: '{{env.PRISMA_API_KEY}}' placement: header exposes: - type: rest namespace: accelerate-cache-rest port: 8080 description: REST adapter for Prisma Accelerate API — Cache. One Spectral-compliant resource per consumed operation, prefixed with /v1. resources: - path: /v1/invalidate name: invalidate description: REST surface for invalidate. operations: - method: POST name: invalidatecachebytags description: Prisma Invalidate cache entries by tags call: accelerate-cache.invalidatecachebytags with: body: rest.body outputParameters: - type: object mapping: $. - path: /v1/invalidate-all name: invalidate-all description: REST surface for invalidate-all. operations: - method: POST name: invalidateallcache description: Prisma Invalidate all cache entries call: accelerate-cache.invalidateallcache outputParameters: - type: object mapping: $. - type: mcp namespace: accelerate-cache-mcp port: 9090 transport: http description: MCP adapter for Prisma Accelerate API — Cache. One tool per consumed operation, routed inline through this capability's consumes block. tools: - name: prisma-invalidate-cache-entries-tags description: Prisma Invalidate cache entries by tags hints: readOnly: true destructive: false idempotent: false call: accelerate-cache.invalidatecachebytags with: body: tools.body outputParameters: - type: object mapping: $. - name: prisma-invalidate-all-cache-entries description: Prisma Invalidate all cache entries hints: readOnly: true destructive: false idempotent: false call: accelerate-cache.invalidateallcache outputParameters: - type: object mapping: $.