naftiko: 1.0.0-alpha2 info: label: Hearthstone Game Data API — Decks description: 'Hearthstone Game Data API — Decks. 1 operations. Lead operation: Get Deck. Self-contained Naftiko capability covering one Blizzard Entertainment business surface.' tags: - Blizzard Entertainment - Decks created: '2026-05-19' modified: '2026-05-19' binds: - namespace: env keys: BLIZZARD_ENTERTAINMENT_API_KEY: BLIZZARD_ENTERTAINMENT_API_KEY capability: consumes: - type: http namespace: blizzard-hearthstone-decks baseUri: https://us.api.blizzard.com description: Hearthstone Game Data API — Decks business capability. Self-contained, no shared references. resources: - name: hearthstone-deck path: /hearthstone/deck operations: - name: getdeck method: GET description: Get Deck outputRawFormat: json outputParameters: - name: result type: object value: $. inputParameters: - name: code in: query type: string description: Hearthstone deck code. required: true authentication: type: bearer token: '{{env.BLIZZARD_ENTERTAINMENT_API_KEY}}' exposes: - type: rest namespace: blizzard-hearthstone-decks-rest port: 8080 description: REST adapter for Hearthstone Game Data API — Decks. One Spectral-compliant resource per consumed operation, prefixed with /v1. resources: - path: /v1/hearthstone/deck name: hearthstone-deck description: REST surface for hearthstone-deck. operations: - method: GET name: getdeck description: Get Deck call: blizzard-hearthstone-decks.getdeck with: code: rest.code outputParameters: - type: object mapping: $. - type: mcp namespace: blizzard-hearthstone-decks-mcp port: 9090 transport: http description: MCP adapter for Hearthstone Game Data API — Decks. One tool per consumed operation, routed inline through this capability's consumes block. tools: - name: get-deck description: Get Deck hints: readOnly: true destructive: false idempotent: true call: blizzard-hearthstone-decks.getdeck with: code: tools.code outputParameters: - type: object mapping: $.