naftiko: 1.0.0-alpha2 info: label: Mailchimp Marketing API — Landing Pages description: 'Mailchimp Marketing API — Landing Pages. 4 operations. Lead operation: Mailchimp Get Landing Page Info. Self-contained Naftiko capability covering one Mailchimp business surface.' tags: - Mailchimp - Landing Pages created: '2026-05-19' modified: '2026-05-19' binds: - namespace: env keys: MAILCHIMP_API_KEY: MAILCHIMP_API_KEY capability: consumes: - type: http namespace: marketing-landing-pages baseUri: https://server.api.mailchimp.com/3.0 description: Mailchimp Marketing API — Landing Pages business capability. Self-contained, no shared references. resources: - name: landing-pages-page_id path: /landing-pages/{page_id} operations: - name: getlandingpageid method: GET description: Mailchimp Get Landing Page 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: page_id in: path type: string description: The unique id for the page. required: true - name: patchlandingpageid method: PATCH description: Mailchimp Update Landing Page outputRawFormat: json outputParameters: - name: result type: object value: $. inputParameters: - name: page_id in: path type: string description: The unique id for the page. required: true - name: body in: body type: object required: true - name: deletelandingpageid method: DELETE description: Mailchimp Delete Landing Page outputRawFormat: json outputParameters: - name: result type: object value: $. inputParameters: - name: page_id in: path type: string description: The unique id for the page. required: true - name: landing-pages-page_id-actions-unpublish path: /landing-pages/{page_id}/actions/unpublish operations: - name: postlandingpageidactionsunpublish method: POST description: Mailchimp Unpublish Landing Page outputRawFormat: json outputParameters: - name: result type: object value: $. inputParameters: - name: page_id in: path type: string description: The unique id for the page. required: true exposes: - type: rest namespace: marketing-landing-pages-rest port: 8080 description: REST adapter for Mailchimp Marketing API — Landing Pages. One Spectral-compliant resource per consumed operation, prefixed with /v1. resources: - path: /v1/landing-pages/{page-id} name: landing-pages-page-id description: REST surface for landing-pages-page_id. operations: - method: GET name: getlandingpageid description: Mailchimp Get Landing Page Info call: marketing-landing-pages.getlandingpageid with: fields: rest.fields exclude_fields: rest.exclude_fields page_id: rest.page_id outputParameters: - type: object mapping: $. - method: PATCH name: patchlandingpageid description: Mailchimp Update Landing Page call: marketing-landing-pages.patchlandingpageid with: page_id: rest.page_id body: rest.body outputParameters: - type: object mapping: $. - method: DELETE name: deletelandingpageid description: Mailchimp Delete Landing Page call: marketing-landing-pages.deletelandingpageid with: page_id: rest.page_id outputParameters: - type: object mapping: $. - path: /v1/landing-pages/{page-id}/actions/unpublish name: landing-pages-page-id-actions-unpublish description: REST surface for landing-pages-page_id-actions-unpublish. operations: - method: POST name: postlandingpageidactionsunpublish description: Mailchimp Unpublish Landing Page call: marketing-landing-pages.postlandingpageidactionsunpublish with: page_id: rest.page_id outputParameters: - type: object mapping: $. - type: mcp namespace: marketing-landing-pages-mcp port: 9090 transport: http description: MCP adapter for Mailchimp Marketing API — Landing Pages. One tool per consumed operation, routed inline through this capability's consumes block. tools: - name: mailchimp-get-landing-page-info description: Mailchimp Get Landing Page Info hints: readOnly: true destructive: false idempotent: true call: marketing-landing-pages.getlandingpageid with: fields: tools.fields exclude_fields: tools.exclude_fields page_id: tools.page_id outputParameters: - type: object mapping: $. - name: mailchimp-update-landing-page description: Mailchimp Update Landing Page hints: readOnly: false destructive: false idempotent: true call: marketing-landing-pages.patchlandingpageid with: page_id: tools.page_id body: tools.body outputParameters: - type: object mapping: $. - name: mailchimp-delete-landing-page description: Mailchimp Delete Landing Page hints: readOnly: false destructive: true idempotent: true call: marketing-landing-pages.deletelandingpageid with: page_id: tools.page_id outputParameters: - type: object mapping: $. - name: mailchimp-unpublish-landing-page description: Mailchimp Unpublish Landing Page hints: readOnly: false destructive: false idempotent: false call: marketing-landing-pages.postlandingpageidactionsunpublish with: page_id: tools.page_id outputParameters: - type: object mapping: $.