naftiko: 1.0.0-alpha2 info: label: Fastly Compute API — Package description: 'Fastly Compute API — Package. 2 operations. Lead operation: Get a Compute package. Self-contained Naftiko capability covering one Fastly business surface.' tags: - Fastly - Package created: '2026-05-19' modified: '2026-05-19' binds: - namespace: env keys: FASTLY_API_KEY: FASTLY_API_KEY capability: consumes: - type: http namespace: compute-package baseUri: https://api.fastly.com description: Fastly Compute API — Package business capability. Self-contained, no shared references. resources: - name: service-service_id-version-version_id-package path: /service/{service_id}/version/{version_id}/package operations: - name: getpackage method: GET description: Get a Compute package outputRawFormat: json outputParameters: - name: result type: object value: $. - name: uploadpackage method: PUT description: Upload a Compute package outputRawFormat: json outputParameters: - name: result type: object value: $. inputParameters: - name: body in: body type: object description: Request body (JSON). required: true authentication: type: apikey key: Fastly-Key value: '{{env.FASTLY_API_KEY}}' placement: header exposes: - type: rest namespace: compute-package-rest port: 8080 description: REST adapter for Fastly Compute API — Package. One Spectral-compliant resource per consumed operation, prefixed with /v1. resources: - path: /v1/service/{service-id}/version/{version-id}/package name: service-service-id-version-version-id-package description: REST surface for service-service_id-version-version_id-package. operations: - method: GET name: getpackage description: Get a Compute package call: compute-package.getpackage outputParameters: - type: object mapping: $. - method: PUT name: uploadpackage description: Upload a Compute package call: compute-package.uploadpackage with: body: rest.body outputParameters: - type: object mapping: $. - type: mcp namespace: compute-package-mcp port: 9090 transport: http description: MCP adapter for Fastly Compute API — Package. One tool per consumed operation, routed inline through this capability's consumes block. tools: - name: get-compute-package description: Get a Compute package hints: readOnly: true destructive: false idempotent: true call: compute-package.getpackage outputParameters: - type: object mapping: $. - name: upload-compute-package description: Upload a Compute package hints: readOnly: false destructive: false idempotent: true call: compute-package.uploadpackage with: body: tools.body outputParameters: - type: object mapping: $.