naftiko: 1.0.0-alpha2 info: label: Prisma Data Platform API — Environments description: 'Prisma Data Platform API — Environments. 4 operations. Lead operation: Prisma Get an environment. Self-contained Naftiko capability covering one Prisma business surface.' tags: - Prisma - Environments created: '2026-05-19' modified: '2026-05-19' binds: - namespace: env keys: PRISMA_API_KEY: PRISMA_API_KEY capability: consumes: - type: http namespace: data-platform-environments baseUri: https://api.cloud.prisma.io description: Prisma Data Platform API — Environments business capability. Self-contained, no shared references. resources: - name: environments-environmentId path: /environments/{environmentId} operations: - name: getenvironment method: GET description: Prisma Get an environment outputRawFormat: json outputParameters: - name: result type: object value: $. - name: deleteenvironment method: DELETE description: Prisma Delete an environment outputRawFormat: json outputParameters: - name: result type: object value: $. - name: projects-projectId-environments path: /projects/{projectId}/environments operations: - name: listenvironments method: GET description: Prisma List environments for a project outputRawFormat: json outputParameters: - name: result type: object value: $. - name: createenvironment method: POST description: Prisma Create an environment 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.PRISMA_API_KEY}}' exposes: - type: rest namespace: data-platform-environments-rest port: 8080 description: REST adapter for Prisma Data Platform API — Environments. One Spectral-compliant resource per consumed operation, prefixed with /v1. resources: - path: /v1/environments/{environmentid} name: environments-environmentid description: REST surface for environments-environmentId. operations: - method: GET name: getenvironment description: Prisma Get an environment call: data-platform-environments.getenvironment outputParameters: - type: object mapping: $. - method: DELETE name: deleteenvironment description: Prisma Delete an environment call: data-platform-environments.deleteenvironment outputParameters: - type: object mapping: $. - path: /v1/projects/{projectid}/environments name: projects-projectid-environments description: REST surface for projects-projectId-environments. operations: - method: GET name: listenvironments description: Prisma List environments for a project call: data-platform-environments.listenvironments outputParameters: - type: object mapping: $. - method: POST name: createenvironment description: Prisma Create an environment call: data-platform-environments.createenvironment with: body: rest.body outputParameters: - type: object mapping: $. - type: mcp namespace: data-platform-environments-mcp port: 9090 transport: http description: MCP adapter for Prisma Data Platform API — Environments. One tool per consumed operation, routed inline through this capability's consumes block. tools: - name: prisma-get-environment description: Prisma Get an environment hints: readOnly: true destructive: false idempotent: true call: data-platform-environments.getenvironment outputParameters: - type: object mapping: $. - name: prisma-delete-environment description: Prisma Delete an environment hints: readOnly: false destructive: true idempotent: true call: data-platform-environments.deleteenvironment outputParameters: - type: object mapping: $. - name: prisma-list-environments-project description: Prisma List environments for a project hints: readOnly: true destructive: false idempotent: true call: data-platform-environments.listenvironments outputParameters: - type: object mapping: $. - name: prisma-create-environment description: Prisma Create an environment hints: readOnly: false destructive: false idempotent: false call: data-platform-environments.createenvironment with: body: tools.body outputParameters: - type: object mapping: $.