naftiko: 1.0.0-alpha2 info: label: Qovery API — Terraforms description: 'Qovery API — Terraforms. 4 operations. Lead operation: List default terraform advanced settings. Self-contained Naftiko capability covering one Qovery business surface.' tags: - Qovery - Terraforms created: '2026-05-19' modified: '2026-05-19' binds: - namespace: env keys: QOVERY_API_KEY: QOVERY_API_KEY capability: consumes: - type: http namespace: qovery-terraforms baseUri: https://api.qovery.com description: Qovery API — Terraforms business capability. Self-contained, no shared references. resources: - name: defaultTerraformAdvancedSettings path: /defaultTerraformAdvancedSettings operations: - name: getdefaultterraformadvancedsettings method: GET description: List default terraform advanced settings outputRawFormat: json outputParameters: - name: result type: object value: $. - name: environment-environmentId-terraform path: /environment/{environmentId}/terraform operations: - name: listterraforms method: GET description: List terraforms outputRawFormat: json outputParameters: - name: result type: object value: $. - name: createterraform method: POST description: Create a terraform outputRawFormat: json outputParameters: - name: result type: object value: $. inputParameters: - name: body in: body type: object description: Request body (JSON). required: false - name: terraform-terraformId-clone path: /terraform/{terraformId}/clone operations: - name: cloneterraform method: POST description: Clone terraform outputRawFormat: json outputParameters: - name: result type: object value: $. inputParameters: - name: body in: body type: object description: Request body (JSON). required: false authentication: type: bearer token: '{{env.QOVERY_API_KEY}}' exposes: - type: rest namespace: qovery-terraforms-rest port: 8080 description: REST adapter for Qovery API — Terraforms. One Spectral-compliant resource per consumed operation, prefixed with /v1. resources: - path: /v1/defaultterraformadvancedsettings name: defaultterraformadvancedsettings description: REST surface for defaultTerraformAdvancedSettings. operations: - method: GET name: getdefaultterraformadvancedsettings description: List default terraform advanced settings call: qovery-terraforms.getdefaultterraformadvancedsettings outputParameters: - type: object mapping: $. - path: /v1/environment/{environmentid}/terraform name: environment-environmentid-terraform description: REST surface for environment-environmentId-terraform. operations: - method: GET name: listterraforms description: List terraforms call: qovery-terraforms.listterraforms outputParameters: - type: object mapping: $. - method: POST name: createterraform description: Create a terraform call: qovery-terraforms.createterraform with: body: rest.body outputParameters: - type: object mapping: $. - path: /v1/terraform/{terraformid}/clone name: terraform-terraformid-clone description: REST surface for terraform-terraformId-clone. operations: - method: POST name: cloneterraform description: Clone terraform call: qovery-terraforms.cloneterraform with: body: rest.body outputParameters: - type: object mapping: $. - type: mcp namespace: qovery-terraforms-mcp port: 9090 transport: http description: MCP adapter for Qovery API — Terraforms. One tool per consumed operation, routed inline through this capability's consumes block. tools: - name: list-default-terraform-advanced-settings description: List default terraform advanced settings hints: readOnly: true destructive: false idempotent: true call: qovery-terraforms.getdefaultterraformadvancedsettings outputParameters: - type: object mapping: $. - name: list-terraforms description: List terraforms hints: readOnly: true destructive: false idempotent: true call: qovery-terraforms.listterraforms outputParameters: - type: object mapping: $. - name: create-terraform description: Create a terraform hints: readOnly: false destructive: false idempotent: false call: qovery-terraforms.createterraform with: body: tools.body outputParameters: - type: object mapping: $. - name: clone-terraform description: Clone terraform hints: readOnly: false destructive: false idempotent: false call: qovery-terraforms.cloneterraform with: body: tools.body outputParameters: - type: object mapping: $.