naftiko: 1.0.0-alpha2 info: label: Mailchimp Marketing API — Images description: 'Mailchimp Marketing API — Images. 5 operations. Lead operation: Mailchimp List Product Images. Self-contained Naftiko capability covering one Mailchimp business surface.' tags: - Mailchimp - Images created: '2026-05-19' modified: '2026-05-19' binds: - namespace: env keys: MAILCHIMP_API_KEY: MAILCHIMP_API_KEY capability: consumes: - type: http namespace: marketing-images baseUri: https://server.api.mailchimp.com/3.0 description: Mailchimp Marketing API — Images business capability. Self-contained, no shared references. resources: - name: ecommerce-stores-store_id-products-product_id-images path: /ecommerce/stores/{store_id}/products/{product_id}/images operations: - name: getecommercestoresidproductsidimages method: GET description: Mailchimp List Product Images outputRawFormat: json outputParameters: - name: result type: object value: $. inputParameters: - name: fields in: query type: array description: A comma-separated list of fields to return. Reference parameters of sub-objects with dot notation. - name: exclude_fields in: query type: array description: A comma-separated list of fields to exclude. Reference parameters of sub-objects with dot notation. - name: count in: query type: integer description: The number of records to return. Default value is 10. Maximum value is 1000 - name: offset in: query type: integer description: Used for [pagination](https://mailchimp.com/developer/marketing/docs/methods-parameters/#pagination), this it the number of records from a collection to skip. D - name: store_id in: path type: string description: The store id. required: true - name: product_id in: path type: string description: The id for the product of a store. required: true - name: postecommercestoresidproductsidimages method: POST description: Mailchimp Add Product Image outputRawFormat: json outputParameters: - name: result type: object value: $. inputParameters: - name: store_id in: path type: string description: The store id. required: true - name: product_id in: path type: string description: The id for the product of a store. required: true - name: body in: body type: object required: true - name: ecommerce-stores-store_id-products-product_id-images-image_id path: /ecommerce/stores/{store_id}/products/{product_id}/images/{image_id} operations: - name: getecommercestoresidproductsidimagesid method: GET description: Mailchimp Get Product Image Info outputRawFormat: json outputParameters: - name: result type: object value: $. inputParameters: - name: fields in: query type: array description: A comma-separated list of fields to return. Reference parameters of sub-objects with dot notation. - name: exclude_fields in: query type: array description: A comma-separated list of fields to exclude. Reference parameters of sub-objects with dot notation. - name: store_id in: path type: string description: The store id. required: true - name: product_id in: path type: string description: The id for the product of a store. required: true - name: image_id in: path type: string description: The id for the product image. required: true - name: patchecommercestoresidproductsidimagesid method: PATCH description: Mailchimp Update Product Image outputRawFormat: json outputParameters: - name: result type: object value: $. inputParameters: - name: store_id in: path type: string description: The store id. required: true - name: product_id in: path type: string description: The id for the product of a store. required: true - name: image_id in: path type: string description: The id for the product image. required: true - name: body in: body type: object required: true - name: deleteecommercestoresidproductsidimagesid method: DELETE description: Mailchimp Delete Product Image outputRawFormat: json outputParameters: - name: result type: object value: $. inputParameters: - name: store_id in: path type: string description: The store id. required: true - name: product_id in: path type: string description: The id for the product of a store. required: true - name: image_id in: path type: string description: The id for the product image. required: true exposes: - type: rest namespace: marketing-images-rest port: 8080 description: REST adapter for Mailchimp Marketing API — Images. One Spectral-compliant resource per consumed operation, prefixed with /v1. resources: - path: /v1/ecommerce/stores/{store-id}/products/{product-id}/images name: ecommerce-stores-store-id-products-product-id-images description: REST surface for ecommerce-stores-store_id-products-product_id-images. operations: - method: GET name: getecommercestoresidproductsidimages description: Mailchimp List Product Images call: marketing-images.getecommercestoresidproductsidimages with: fields: rest.fields exclude_fields: rest.exclude_fields count: rest.count offset: rest.offset store_id: rest.store_id product_id: rest.product_id outputParameters: - type: object mapping: $. - method: POST name: postecommercestoresidproductsidimages description: Mailchimp Add Product Image call: marketing-images.postecommercestoresidproductsidimages with: store_id: rest.store_id product_id: rest.product_id body: rest.body outputParameters: - type: object mapping: $. - path: /v1/ecommerce/stores/{store-id}/products/{product-id}/images/{image-id} name: ecommerce-stores-store-id-products-product-id-images-image-id description: REST surface for ecommerce-stores-store_id-products-product_id-images-image_id. operations: - method: GET name: getecommercestoresidproductsidimagesid description: Mailchimp Get Product Image Info call: marketing-images.getecommercestoresidproductsidimagesid with: fields: rest.fields exclude_fields: rest.exclude_fields store_id: rest.store_id product_id: rest.product_id image_id: rest.image_id outputParameters: - type: object mapping: $. - method: PATCH name: patchecommercestoresidproductsidimagesid description: Mailchimp Update Product Image call: marketing-images.patchecommercestoresidproductsidimagesid with: store_id: rest.store_id product_id: rest.product_id image_id: rest.image_id body: rest.body outputParameters: - type: object mapping: $. - method: DELETE name: deleteecommercestoresidproductsidimagesid description: Mailchimp Delete Product Image call: marketing-images.deleteecommercestoresidproductsidimagesid with: store_id: rest.store_id product_id: rest.product_id image_id: rest.image_id outputParameters: - type: object mapping: $. - type: mcp namespace: marketing-images-mcp port: 9090 transport: http description: MCP adapter for Mailchimp Marketing API — Images. One tool per consumed operation, routed inline through this capability's consumes block. tools: - name: mailchimp-list-product-images description: Mailchimp List Product Images hints: readOnly: true destructive: false idempotent: true call: marketing-images.getecommercestoresidproductsidimages with: fields: tools.fields exclude_fields: tools.exclude_fields count: tools.count offset: tools.offset store_id: tools.store_id product_id: tools.product_id outputParameters: - type: object mapping: $. - name: mailchimp-add-product-image description: Mailchimp Add Product Image hints: readOnly: false destructive: false idempotent: false call: marketing-images.postecommercestoresidproductsidimages with: store_id: tools.store_id product_id: tools.product_id body: tools.body outputParameters: - type: object mapping: $. - name: mailchimp-get-product-image-info description: Mailchimp Get Product Image Info hints: readOnly: true destructive: false idempotent: true call: marketing-images.getecommercestoresidproductsidimagesid with: fields: tools.fields exclude_fields: tools.exclude_fields store_id: tools.store_id product_id: tools.product_id image_id: tools.image_id outputParameters: - type: object mapping: $. - name: mailchimp-update-product-image description: Mailchimp Update Product Image hints: readOnly: false destructive: false idempotent: true call: marketing-images.patchecommercestoresidproductsidimagesid with: store_id: tools.store_id product_id: tools.product_id image_id: tools.image_id body: tools.body outputParameters: - type: object mapping: $. - name: mailchimp-delete-product-image description: Mailchimp Delete Product Image hints: readOnly: false destructive: true idempotent: true call: marketing-images.deleteecommercestoresidproductsidimagesid with: store_id: tools.store_id product_id: tools.product_id image_id: tools.image_id outputParameters: - type: object mapping: $.