naftiko: 1.0.0-alpha2 info: label: Instacart Connect Fulfillment API — Pickup description: 'Instacart Connect Fulfillment API — Pickup. 3 operations. Lead operation: Find stores offering pickup. Self-contained Naftiko capability covering one Instacart business surface.' tags: - Instacart - Pickup created: '2026-05-19' modified: '2026-05-19' binds: - namespace: env keys: INSTACART_API_KEY: INSTACART_API_KEY capability: consumes: - type: http namespace: connect-fulfillment-pickup baseUri: https://connect.instacart.com description: Instacart Connect Fulfillment API — Pickup business capability. Self-contained, no shared references. resources: - name: v2-fulfillment-stores-pickup path: /v2/fulfillment/stores/pickup operations: - name: findpickupstores method: POST description: Find stores offering pickup outputRawFormat: json outputParameters: - name: result type: object value: $. inputParameters: - name: body in: body type: object description: Request body (JSON). required: true - name: v2-fulfillment-users-user_id-orders-pickup path: /v2/fulfillment/users/{user_id}/orders/pickup operations: - name: createpickuporder method: POST description: Create a pickup order outputRawFormat: json outputParameters: - name: result type: object value: $. inputParameters: - name: body in: body type: object description: Request body (JSON). required: true - name: v2-fulfillment-users-user_id-service_options-pickup path: /v2/fulfillment/users/{user_id}/service_options/pickup operations: - name: previewpickuptimeslots method: POST description: Preview time slots for pickup outputRawFormat: json outputParameters: - name: result type: object value: $. inputParameters: - name: body in: body type: object description: Request body (JSON). required: true authentication: type: bearer token: '{{env.INSTACART_API_KEY}}' exposes: - type: rest namespace: connect-fulfillment-pickup-rest port: 8080 description: REST adapter for Instacart Connect Fulfillment API — Pickup. One Spectral-compliant resource per consumed operation, prefixed with /v1. resources: - path: /v1/v2/fulfillment/stores/pickup name: v2-fulfillment-stores-pickup description: REST surface for v2-fulfillment-stores-pickup. operations: - method: POST name: findpickupstores description: Find stores offering pickup call: connect-fulfillment-pickup.findpickupstores with: body: rest.body outputParameters: - type: object mapping: $. - path: /v1/v2/fulfillment/users/{user-id}/orders/pickup name: v2-fulfillment-users-user-id-orders-pickup description: REST surface for v2-fulfillment-users-user_id-orders-pickup. operations: - method: POST name: createpickuporder description: Create a pickup order call: connect-fulfillment-pickup.createpickuporder with: body: rest.body outputParameters: - type: object mapping: $. - path: /v1/v2/fulfillment/users/{user-id}/service-options/pickup name: v2-fulfillment-users-user-id-service-options-pickup description: REST surface for v2-fulfillment-users-user_id-service_options-pickup. operations: - method: POST name: previewpickuptimeslots description: Preview time slots for pickup call: connect-fulfillment-pickup.previewpickuptimeslots with: body: rest.body outputParameters: - type: object mapping: $. - type: mcp namespace: connect-fulfillment-pickup-mcp port: 9090 transport: http description: MCP adapter for Instacart Connect Fulfillment API — Pickup. One tool per consumed operation, routed inline through this capability's consumes block. tools: - name: find-stores-offering-pickup description: Find stores offering pickup hints: readOnly: true destructive: false idempotent: false call: connect-fulfillment-pickup.findpickupstores with: body: tools.body outputParameters: - type: object mapping: $. - name: create-pickup-order description: Create a pickup order hints: readOnly: false destructive: false idempotent: false call: connect-fulfillment-pickup.createpickuporder with: body: tools.body outputParameters: - type: object mapping: $. - name: preview-time-slots-pickup description: Preview time slots for pickup hints: readOnly: false destructive: false idempotent: false call: connect-fulfillment-pickup.previewpickuptimeslots with: body: tools.body outputParameters: - type: object mapping: $.