naftiko: 1.0.0-alpha2 info: label: Tinybird API — Environment Variables description: 'Tinybird API — Environment Variables. 4 operations. Lead operation: List Environment Variables. Self-contained Naftiko capability covering one Tinybird business surface.' tags: - Tinybird - Environment Variables created: '2026-05-19' modified: '2026-05-19' binds: - namespace: env keys: TINYBIRD_API_KEY: TINYBIRD_API_KEY capability: consumes: - type: http namespace: tinybird-environment-variables baseUri: https://api.tinybird.co description: Tinybird API — Environment Variables business capability. Self-contained, no shared references. resources: - name: v0-env_vars path: /v0/env_vars operations: - name: listenvironmentvariables method: GET description: List Environment Variables outputRawFormat: json outputParameters: - name: result type: object value: $. - name: createenvironmentvariable method: POST description: Create Environment Variable outputRawFormat: json outputParameters: - name: result type: object value: $. inputParameters: - name: body in: body type: object description: Request body (JSON). required: false - name: v0-env_vars-name path: /v0/env_vars/{name} operations: - name: updateenvironmentvariable method: PUT description: Update Environment Variable outputRawFormat: json outputParameters: - name: result type: object value: $. inputParameters: - name: name in: path type: string required: true - name: body in: body type: object description: Request body (JSON). required: false - name: deleteenvironmentvariable method: DELETE description: Delete Environment Variable outputRawFormat: json outputParameters: - name: result type: object value: $. inputParameters: - name: name in: path type: string required: true authentication: type: bearer token: '{{env.TINYBIRD_API_KEY}}' exposes: - type: rest namespace: tinybird-environment-variables-rest port: 8080 description: REST adapter for Tinybird API — Environment Variables. One Spectral-compliant resource per consumed operation, prefixed with /v1. resources: - path: /v1/v0/env-vars name: v0-env-vars description: REST surface for v0-env_vars. operations: - method: GET name: listenvironmentvariables description: List Environment Variables call: tinybird-environment-variables.listenvironmentvariables outputParameters: - type: object mapping: $. - method: POST name: createenvironmentvariable description: Create Environment Variable call: tinybird-environment-variables.createenvironmentvariable with: body: rest.body outputParameters: - type: object mapping: $. - path: /v1/v0/env-vars/{name} name: v0-env-vars-name description: REST surface for v0-env_vars-name. operations: - method: PUT name: updateenvironmentvariable description: Update Environment Variable call: tinybird-environment-variables.updateenvironmentvariable with: name: rest.name body: rest.body outputParameters: - type: object mapping: $. - method: DELETE name: deleteenvironmentvariable description: Delete Environment Variable call: tinybird-environment-variables.deleteenvironmentvariable with: name: rest.name outputParameters: - type: object mapping: $. - type: mcp namespace: tinybird-environment-variables-mcp port: 9090 transport: http description: MCP adapter for Tinybird API — Environment Variables. One tool per consumed operation, routed inline through this capability's consumes block. tools: - name: list-environment-variables description: List Environment Variables hints: readOnly: true destructive: false idempotent: true call: tinybird-environment-variables.listenvironmentvariables outputParameters: - type: object mapping: $. - name: create-environment-variable description: Create Environment Variable hints: readOnly: false destructive: false idempotent: false call: tinybird-environment-variables.createenvironmentvariable with: body: tools.body outputParameters: - type: object mapping: $. - name: update-environment-variable description: Update Environment Variable hints: readOnly: false destructive: false idempotent: true call: tinybird-environment-variables.updateenvironmentvariable with: name: tools.name body: tools.body outputParameters: - type: object mapping: $. - name: delete-environment-variable description: Delete Environment Variable hints: readOnly: false destructive: true idempotent: true call: tinybird-environment-variables.deleteenvironmentvariable with: name: tools.name outputParameters: - type: object mapping: $.