naftiko: 1.0.0-alpha2 info: label: Walgreens Store Locator API — Stores description: 'Walgreens Store Locator API — Stores. 3 operations. Lead operation: Get Store Details. Self-contained Naftiko capability covering one Walgreens business surface.' tags: - Walgreens - Stores created: '2026-05-19' modified: '2026-05-19' binds: - namespace: env keys: WALGREENS_API_KEY: WALGREENS_API_KEY capability: consumes: - type: http namespace: store-locator-stores baseUri: https://services.walgreens.com description: Walgreens Store Locator API — Stores business capability. Self-contained, no shared references. resources: - name: api-stores-details-v1 path: /api/stores/details/v1 operations: - name: getstoredetails method: POST description: Get Store Details outputRawFormat: json outputParameters: - name: result type: object value: $. inputParameters: - name: body in: body type: object description: Request body (JSON). required: true - name: api-stores-search-v2 path: /api/stores/search/v2 operations: - name: searchstores method: POST description: Search Stores outputRawFormat: json outputParameters: - name: result type: object value: $. inputParameters: - name: body in: body type: object description: Request body (JSON). required: true - name: api-util-storenumber-v1 path: /api/util/storenumber/v1 operations: - name: liststorenumbers method: POST description: List All Store Numbers 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: apiKey value: '{{env.WALGREENS_API_KEY}}' placement: query exposes: - type: rest namespace: store-locator-stores-rest port: 8080 description: REST adapter for Walgreens Store Locator API — Stores. One Spectral-compliant resource per consumed operation, prefixed with /v1. resources: - path: /v1/api/stores/details/v1 name: api-stores-details-v1 description: REST surface for api-stores-details-v1. operations: - method: POST name: getstoredetails description: Get Store Details call: store-locator-stores.getstoredetails with: body: rest.body outputParameters: - type: object mapping: $. - path: /v1/api/stores/search/v2 name: api-stores-search-v2 description: REST surface for api-stores-search-v2. operations: - method: POST name: searchstores description: Search Stores call: store-locator-stores.searchstores with: body: rest.body outputParameters: - type: object mapping: $. - path: /v1/api/util/storenumber/v1 name: api-util-storenumber-v1 description: REST surface for api-util-storenumber-v1. operations: - method: POST name: liststorenumbers description: List All Store Numbers call: store-locator-stores.liststorenumbers with: body: rest.body outputParameters: - type: object mapping: $. - type: mcp namespace: store-locator-stores-mcp port: 9090 transport: http description: MCP adapter for Walgreens Store Locator API — Stores. One tool per consumed operation, routed inline through this capability's consumes block. tools: - name: get-store-details description: Get Store Details hints: readOnly: true destructive: false idempotent: false call: store-locator-stores.getstoredetails with: body: tools.body outputParameters: - type: object mapping: $. - name: search-stores description: Search Stores hints: readOnly: true destructive: false idempotent: false call: store-locator-stores.searchstores with: body: tools.body outputParameters: - type: object mapping: $. - name: list-all-store-numbers description: List All Store Numbers hints: readOnly: true destructive: false idempotent: false call: store-locator-stores.liststorenumbers with: body: tools.body outputParameters: - type: object mapping: $.