naftiko: 1.0.0-alpha2 info: label: Mailchimp Marketing API — Lists description: 'Mailchimp Marketing API — Lists. 26 operations. Lead operation: Mailchimp Get Lists Info. Self-contained Naftiko capability covering one Mailchimp business surface.' tags: - Mailchimp - Lists created: '2026-05-19' modified: '2026-05-19' binds: - namespace: env keys: MAILCHIMP_API_KEY: MAILCHIMP_API_KEY capability: consumes: - type: http namespace: marketing-lists baseUri: https://server.api.mailchimp.com/3.0 description: Mailchimp Marketing API — Lists business capability. Self-contained, no shared references. resources: - name: lists path: /lists operations: - name: getlists method: GET description: Mailchimp Get Lists 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: 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: before_date_created in: query type: string description: 'Restrict response to lists created before the set date. Uses ISO 8601 time format: 2015-10-21T15:41:36+00:00.' - name: since_date_created in: query type: string description: 'Restrict results to lists created after the set date. Uses ISO 8601 time format: 2015-10-21T15:41:36+00:00.' - name: before_campaign_last_sent in: query type: string description: 'Restrict results to lists created before the last campaign send date. Uses ISO 8601 time format: 2015-10-21T15:41:36+00:00.' - name: since_campaign_last_sent in: query type: string description: 'Restrict results to lists created after the last campaign send date. Uses ISO 8601 time format: 2015-10-21T15:41:36+00:00.' - name: email in: query type: string description: Restrict results to lists that include a specific subscriber's email address. - name: sort_field in: query type: string description: Returns files sorted by the specified field. - name: sort_dir in: query type: string description: Determines the order direction for sorted results. - name: has_ecommerce_store in: query type: boolean description: Restrict results to lists that contain an active, connected, undeleted ecommerce store. - name: include_total_contacts in: query type: boolean description: Return the total_contacts field in the stats response, which contains an approximate count of all contacts in any state. - name: postlists method: POST description: Mailchimp Add List outputRawFormat: json outputParameters: - name: result type: object value: $. inputParameters: - name: body in: body type: object required: true - name: lists-list_id-abuse-reports-report_id path: /lists/{list_id}/abuse-reports/{report_id} operations: - name: getlistsidabusereportsid method: GET description: Mailchimp Get Abuse Report 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: list_id in: path type: string description: The unique ID for the list. required: true - name: report_id in: path type: string description: The id for the abuse report. required: true - name: lists-list_id-interest-categories-interest_category_id path: /lists/{list_id}/interest-categories/{interest_category_id} operations: - name: getlistsidinterestcategoriesid method: GET description: Mailchimp Get Interest Category Info outputRawFormat: json outputParameters: - name: result type: object value: $. inputParameters: - name: list_id in: path type: string description: The unique ID for the list. required: true - name: interest_category_id in: path type: string description: The unique ID for the interest category. required: true - 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: patchlistsidinterestcategoriesid method: PATCH description: Mailchimp Update Interest Category outputRawFormat: json outputParameters: - name: result type: object value: $. inputParameters: - name: list_id in: path type: string description: The unique ID for the list. required: true - name: interest_category_id in: path type: string description: The unique ID for the interest category. required: true - name: body in: body type: object required: true - name: deletelistsidinterestcategoriesid method: DELETE description: Mailchimp Delete Interest Category outputRawFormat: json outputParameters: - name: result type: object value: $. inputParameters: - name: list_id in: path type: string description: The unique ID for the list. required: true - name: interest_category_id in: path type: string description: The unique ID for the interest category. required: true - name: lists-list_id-interest-categories-interest_category_id-interests-interest_id path: /lists/{list_id}/interest-categories/{interest_category_id}/interests/{interest_id} operations: - name: getlistsidinterestcategoriesidinterestsid method: GET description: Mailchimp Get Interest in Category outputRawFormat: json outputParameters: - name: result type: object value: $. inputParameters: - name: list_id in: path type: string description: The unique ID for the list. required: true - name: interest_category_id in: path type: string description: The unique ID for the interest category. required: true - name: interest_id in: path type: string description: The specific interest or 'group name'. required: true - 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: patchlistsidinterestcategoriesidinterestsid method: PATCH description: Mailchimp Update Interest in Category outputRawFormat: json outputParameters: - name: result type: object value: $. inputParameters: - name: list_id in: path type: string description: The unique ID for the list. required: true - name: interest_category_id in: path type: string description: The unique ID for the interest category. required: true - name: interest_id in: path type: string description: The specific interest or 'group name'. required: true - name: body in: body type: object required: true - name: deletelistsidinterestcategoriesidinterestsid method: DELETE description: Mailchimp Delete Interest in Category outputRawFormat: json outputParameters: - name: result type: object value: $. inputParameters: - name: list_id in: path type: string description: The unique ID for the list. required: true - name: interest_category_id in: path type: string description: The unique ID for the interest category. required: true - name: interest_id in: path type: string description: The specific interest or 'group name'. required: true - name: lists-list_id-members-subscriber_hash path: /lists/{list_id}/members/{subscriber_hash} operations: - name: getlistsidmembersid method: GET description: Mailchimp Get Member 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: list_id in: path type: string description: The unique ID for the list. required: true - name: subscriber_hash in: path type: string description: The MD5 hash of the lowercase version of the list member's email address. This endpoint also accepts a list member's email address or contact_id. required: true - name: putlistsidmembersid method: PUT description: Mailchimp Add or Update List Member outputRawFormat: json outputParameters: - name: result type: object value: $. inputParameters: - name: list_id in: path type: string description: The unique ID for the list. required: true - name: subscriber_hash in: path type: string description: The MD5 hash of the lowercase version of the list member's email address. This endpoint also accepts a list member's email address or contact_id. required: true - name: skip_merge_validation in: query type: boolean description: If skip_merge_validation is true, member data will be accepted without merge field values, even if the merge field is usually required. This defaults to false. - name: body in: body type: object required: true - name: patchlistsidmembersid method: PATCH description: Mailchimp Update List Member outputRawFormat: json outputParameters: - name: result type: object value: $. inputParameters: - name: list_id in: path type: string description: The unique ID for the list. required: true - name: subscriber_hash in: path type: string description: The MD5 hash of the lowercase version of the list member's email address. This endpoint also accepts a list member's email address or contact_id. required: true - name: skip_merge_validation in: query type: boolean description: If skip_merge_validation is true, member data will be accepted without merge field values, even if the merge field is usually required. This defaults to false. - name: body in: body type: object required: true - name: deletelistsidmembersid method: DELETE description: Mailchimp Archive List Member outputRawFormat: json outputParameters: - name: result type: object value: $. inputParameters: - name: list_id in: path type: string description: The unique ID for the list. required: true - name: subscriber_hash in: path type: string description: The MD5 hash of the lowercase version of the list member's email address. This endpoint also accepts a list member's email address or contact_id. required: true - name: lists-list_id-members-subscriber_hash-actions-delete-permanent path: /lists/{list_id}/members/{subscriber_hash}/actions/delete-permanent operations: - name: postlistsidmembershashactionsdeletepermanent method: POST description: Mailchimp Delete List Member outputRawFormat: json outputParameters: - name: result type: object value: $. inputParameters: - name: list_id in: path type: string description: The unique ID for the list. required: true - name: subscriber_hash in: path type: string description: The MD5 hash of the lowercase version of the list member's email address. required: true - name: lists-list_id-members-subscriber_hash-notes-note_id path: /lists/{list_id}/members/{subscriber_hash}/notes/{note_id} operations: - name: getlistsidmembersidnotesid method: GET description: Mailchimp Get Member Note outputRawFormat: json outputParameters: - name: result type: object value: $. inputParameters: - name: list_id in: path type: string description: The unique ID for the list. required: true - name: subscriber_hash in: path type: string description: The MD5 hash of the lowercase version of the list member's email address. This endpoint also accepts a list member's email address or contact_id. required: true - name: note_id in: path type: string description: The id for the note. required: true - 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: patchlistsidmembersidnotesid method: PATCH description: Mailchimp Update Note outputRawFormat: json outputParameters: - name: result type: object value: $. inputParameters: - name: list_id in: path type: string description: The unique ID for the list. required: true - name: subscriber_hash in: path type: string description: The MD5 hash of the lowercase version of the list member's email address. This endpoint also accepts a list member's email address or contact_id. required: true - name: note_id in: path type: string description: The id for the note. required: true - name: body in: body type: object required: true - name: deletelistsidmembersidnotesid method: DELETE description: Mailchimp Delete Note outputRawFormat: json outputParameters: - name: result type: object value: $. inputParameters: - name: list_id in: path type: string description: The unique ID for the list. required: true - name: subscriber_hash in: path type: string description: The MD5 hash of the lowercase version of the list member's email address. This endpoint also accepts a list member's email address or contact_id. required: true - name: note_id in: path type: string description: The id for the note. required: true - name: lists-list_id-merge-fields-merge_id path: /lists/{list_id}/merge-fields/{merge_id} operations: - name: getlistsidmergefieldsid method: GET description: Mailchimp Get Merge Field outputRawFormat: json outputParameters: - name: result type: object value: $. inputParameters: - name: list_id in: path type: string description: The unique ID for the list. required: true - name: merge_id in: path type: string description: The id for the merge field. required: true - 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: fields in: query type: array description: A comma-separated list of fields to return. Reference parameters of sub-objects with dot notation. - name: patchlistsidmergefieldsid method: PATCH description: Mailchimp Update Merge Field outputRawFormat: json outputParameters: - name: result type: object value: $. inputParameters: - name: list_id in: path type: string description: The unique ID for the list. required: true - name: merge_id in: path type: string description: The id for the merge field. required: true - name: body in: body type: object required: true - name: deletelistsidmergefieldsid method: DELETE description: Mailchimp Delete Merge Field outputRawFormat: json outputParameters: - name: result type: object value: $. inputParameters: - name: list_id in: path type: string description: The unique ID for the list. required: true - name: merge_id in: path type: string description: The id for the merge field. required: true - name: lists-list_id-segments-segment_id path: /lists/{list_id}/segments/{segment_id} operations: - name: getlistsidsegmentsid method: GET description: Mailchimp Get Segment 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: list_id in: path type: string description: The unique ID for the list. required: true - name: segment_id in: path type: string description: The unique id for the segment. required: true - name: include_cleaned in: query type: boolean description: Include cleaned members in response - name: include_transactional in: query type: boolean description: Include transactional members in response - name: include_unsubscribed in: query type: boolean description: Include unsubscribed members in response - name: deletelistsidsegmentsid method: DELETE description: Mailchimp Delete Segment outputRawFormat: json outputParameters: - name: result type: object value: $. inputParameters: - name: list_id in: path type: string description: The unique ID for the list. required: true - name: segment_id in: path type: string description: The unique id for the segment. required: true - name: patchlistsidsegmentsid method: PATCH description: Mailchimp Update Segment outputRawFormat: json outputParameters: - name: result type: object value: $. inputParameters: - name: list_id in: path type: string description: The unique ID for the list. required: true - name: segment_id in: path type: string description: The unique id for the segment. required: true - name: body in: body type: object required: true - name: postlistsidsegmentsid method: POST description: Mailchimp Batch Add or Remove Members outputRawFormat: json outputParameters: - name: result type: object value: $. inputParameters: - name: body in: body type: object required: true - name: list_id in: path type: string description: The unique ID for the list. required: true - name: segment_id in: path type: string description: The unique id for the segment. required: true - name: lists-list_id-segments-segment_id-members-subscriber_hash path: /lists/{list_id}/segments/{segment_id}/members/{subscriber_hash} operations: - name: deletelistsidsegmentsidmembersid method: DELETE description: Mailchimp Remove List Member From Segment outputRawFormat: json outputParameters: - name: result type: object value: $. inputParameters: - name: list_id in: path type: string description: The unique ID for the list. required: true - name: segment_id in: path type: string description: The unique id for the segment. required: true - name: subscriber_hash in: path type: string description: The MD5 hash of the lowercase version of the list member's email address. required: true - name: lists-list_id-surveys-survey_id path: /lists/{list_id}/surveys/{survey_id} operations: - name: getlistsidsurveysid method: GET description: Mailchimp Get Survey outputRawFormat: json outputParameters: - name: result type: object value: $. inputParameters: - name: list_id in: path type: string description: The unique ID for the list. required: true - name: survey_id in: path type: string description: The ID of the survey. required: true exposes: - type: rest namespace: marketing-lists-rest port: 8080 description: REST adapter for Mailchimp Marketing API — Lists. One Spectral-compliant resource per consumed operation, prefixed with /v1. resources: - path: /v1/lists name: lists description: REST surface for lists. operations: - method: GET name: getlists description: Mailchimp Get Lists Info call: marketing-lists.getlists with: fields: rest.fields exclude_fields: rest.exclude_fields count: rest.count offset: rest.offset before_date_created: rest.before_date_created since_date_created: rest.since_date_created before_campaign_last_sent: rest.before_campaign_last_sent since_campaign_last_sent: rest.since_campaign_last_sent email: rest.email sort_field: rest.sort_field sort_dir: rest.sort_dir has_ecommerce_store: rest.has_ecommerce_store include_total_contacts: rest.include_total_contacts outputParameters: - type: object mapping: $. - method: POST name: postlists description: Mailchimp Add List call: marketing-lists.postlists with: body: rest.body outputParameters: - type: object mapping: $. - path: /v1/lists/{list-id}/abuse-reports/{report-id} name: lists-list-id-abuse-reports-report-id description: REST surface for lists-list_id-abuse-reports-report_id. operations: - method: GET name: getlistsidabusereportsid description: Mailchimp Get Abuse Report call: marketing-lists.getlistsidabusereportsid with: fields: rest.fields exclude_fields: rest.exclude_fields count: rest.count offset: rest.offset list_id: rest.list_id report_id: rest.report_id outputParameters: - type: object mapping: $. - path: /v1/lists/{list-id}/interest-categories/{interest-category-id} name: lists-list-id-interest-categories-interest-category-id description: REST surface for lists-list_id-interest-categories-interest_category_id. operations: - method: GET name: getlistsidinterestcategoriesid description: Mailchimp Get Interest Category Info call: marketing-lists.getlistsidinterestcategoriesid with: list_id: rest.list_id interest_category_id: rest.interest_category_id fields: rest.fields exclude_fields: rest.exclude_fields outputParameters: - type: object mapping: $. - method: PATCH name: patchlistsidinterestcategoriesid description: Mailchimp Update Interest Category call: marketing-lists.patchlistsidinterestcategoriesid with: list_id: rest.list_id interest_category_id: rest.interest_category_id body: rest.body outputParameters: - type: object mapping: $. - method: DELETE name: deletelistsidinterestcategoriesid description: Mailchimp Delete Interest Category call: marketing-lists.deletelistsidinterestcategoriesid with: list_id: rest.list_id interest_category_id: rest.interest_category_id outputParameters: - type: object mapping: $. - path: /v1/lists/{list-id}/interest-categories/{interest-category-id}/interests/{interest-id} name: lists-list-id-interest-categories-interest-category-id-interests-interest-id description: REST surface for lists-list_id-interest-categories-interest_category_id-interests-interest_id. operations: - method: GET name: getlistsidinterestcategoriesidinterestsid description: Mailchimp Get Interest in Category call: marketing-lists.getlistsidinterestcategoriesidinterestsid with: list_id: rest.list_id interest_category_id: rest.interest_category_id interest_id: rest.interest_id fields: rest.fields exclude_fields: rest.exclude_fields outputParameters: - type: object mapping: $. - method: PATCH name: patchlistsidinterestcategoriesidinterestsid description: Mailchimp Update Interest in Category call: marketing-lists.patchlistsidinterestcategoriesidinterestsid with: list_id: rest.list_id interest_category_id: rest.interest_category_id interest_id: rest.interest_id body: rest.body outputParameters: - type: object mapping: $. - method: DELETE name: deletelistsidinterestcategoriesidinterestsid description: Mailchimp Delete Interest in Category call: marketing-lists.deletelistsidinterestcategoriesidinterestsid with: list_id: rest.list_id interest_category_id: rest.interest_category_id interest_id: rest.interest_id outputParameters: - type: object mapping: $. - path: /v1/lists/{list-id}/members/{subscriber-hash} name: lists-list-id-members-subscriber-hash description: REST surface for lists-list_id-members-subscriber_hash. operations: - method: GET name: getlistsidmembersid description: Mailchimp Get Member Info call: marketing-lists.getlistsidmembersid with: fields: rest.fields exclude_fields: rest.exclude_fields list_id: rest.list_id subscriber_hash: rest.subscriber_hash outputParameters: - type: object mapping: $. - method: PUT name: putlistsidmembersid description: Mailchimp Add or Update List Member call: marketing-lists.putlistsidmembersid with: list_id: rest.list_id subscriber_hash: rest.subscriber_hash skip_merge_validation: rest.skip_merge_validation body: rest.body outputParameters: - type: object mapping: $. - method: PATCH name: patchlistsidmembersid description: Mailchimp Update List Member call: marketing-lists.patchlistsidmembersid with: list_id: rest.list_id subscriber_hash: rest.subscriber_hash skip_merge_validation: rest.skip_merge_validation body: rest.body outputParameters: - type: object mapping: $. - method: DELETE name: deletelistsidmembersid description: Mailchimp Archive List Member call: marketing-lists.deletelistsidmembersid with: list_id: rest.list_id subscriber_hash: rest.subscriber_hash outputParameters: - type: object mapping: $. - path: /v1/lists/{list-id}/members/{subscriber-hash}/actions/delete-permanent name: lists-list-id-members-subscriber-hash-actions-delete-permanent description: REST surface for lists-list_id-members-subscriber_hash-actions-delete-permanent. operations: - method: POST name: postlistsidmembershashactionsdeletepermanent description: Mailchimp Delete List Member call: marketing-lists.postlistsidmembershashactionsdeletepermanent with: list_id: rest.list_id subscriber_hash: rest.subscriber_hash outputParameters: - type: object mapping: $. - path: /v1/lists/{list-id}/members/{subscriber-hash}/notes/{note-id} name: lists-list-id-members-subscriber-hash-notes-note-id description: REST surface for lists-list_id-members-subscriber_hash-notes-note_id. operations: - method: GET name: getlistsidmembersidnotesid description: Mailchimp Get Member Note call: marketing-lists.getlistsidmembersidnotesid with: list_id: rest.list_id subscriber_hash: rest.subscriber_hash note_id: rest.note_id fields: rest.fields exclude_fields: rest.exclude_fields outputParameters: - type: object mapping: $. - method: PATCH name: patchlistsidmembersidnotesid description: Mailchimp Update Note call: marketing-lists.patchlistsidmembersidnotesid with: list_id: rest.list_id subscriber_hash: rest.subscriber_hash note_id: rest.note_id body: rest.body outputParameters: - type: object mapping: $. - method: DELETE name: deletelistsidmembersidnotesid description: Mailchimp Delete Note call: marketing-lists.deletelistsidmembersidnotesid with: list_id: rest.list_id subscriber_hash: rest.subscriber_hash note_id: rest.note_id outputParameters: - type: object mapping: $. - path: /v1/lists/{list-id}/merge-fields/{merge-id} name: lists-list-id-merge-fields-merge-id description: REST surface for lists-list_id-merge-fields-merge_id. operations: - method: GET name: getlistsidmergefieldsid description: Mailchimp Get Merge Field call: marketing-lists.getlistsidmergefieldsid with: list_id: rest.list_id merge_id: rest.merge_id exclude_fields: rest.exclude_fields fields: rest.fields outputParameters: - type: object mapping: $. - method: PATCH name: patchlistsidmergefieldsid description: Mailchimp Update Merge Field call: marketing-lists.patchlistsidmergefieldsid with: list_id: rest.list_id merge_id: rest.merge_id body: rest.body outputParameters: - type: object mapping: $. - method: DELETE name: deletelistsidmergefieldsid description: Mailchimp Delete Merge Field call: marketing-lists.deletelistsidmergefieldsid with: list_id: rest.list_id merge_id: rest.merge_id outputParameters: - type: object mapping: $. - path: /v1/lists/{list-id}/segments/{segment-id} name: lists-list-id-segments-segment-id description: REST surface for lists-list_id-segments-segment_id. operations: - method: GET name: getlistsidsegmentsid description: Mailchimp Get Segment Info call: marketing-lists.getlistsidsegmentsid with: fields: rest.fields exclude_fields: rest.exclude_fields list_id: rest.list_id segment_id: rest.segment_id include_cleaned: rest.include_cleaned include_transactional: rest.include_transactional include_unsubscribed: rest.include_unsubscribed outputParameters: - type: object mapping: $. - method: DELETE name: deletelistsidsegmentsid description: Mailchimp Delete Segment call: marketing-lists.deletelistsidsegmentsid with: list_id: rest.list_id segment_id: rest.segment_id outputParameters: - type: object mapping: $. - method: PATCH name: patchlistsidsegmentsid description: Mailchimp Update Segment call: marketing-lists.patchlistsidsegmentsid with: list_id: rest.list_id segment_id: rest.segment_id body: rest.body outputParameters: - type: object mapping: $. - method: POST name: postlistsidsegmentsid description: Mailchimp Batch Add or Remove Members call: marketing-lists.postlistsidsegmentsid with: body: rest.body list_id: rest.list_id segment_id: rest.segment_id outputParameters: - type: object mapping: $. - path: /v1/lists/{list-id}/segments/{segment-id}/members/{subscriber-hash} name: lists-list-id-segments-segment-id-members-subscriber-hash description: REST surface for lists-list_id-segments-segment_id-members-subscriber_hash. operations: - method: DELETE name: deletelistsidsegmentsidmembersid description: Mailchimp Remove List Member From Segment call: marketing-lists.deletelistsidsegmentsidmembersid with: list_id: rest.list_id segment_id: rest.segment_id subscriber_hash: rest.subscriber_hash outputParameters: - type: object mapping: $. - path: /v1/lists/{list-id}/surveys/{survey-id} name: lists-list-id-surveys-survey-id description: REST surface for lists-list_id-surveys-survey_id. operations: - method: GET name: getlistsidsurveysid description: Mailchimp Get Survey call: marketing-lists.getlistsidsurveysid with: list_id: rest.list_id survey_id: rest.survey_id outputParameters: - type: object mapping: $. - type: mcp namespace: marketing-lists-mcp port: 9090 transport: http description: MCP adapter for Mailchimp Marketing API — Lists. One tool per consumed operation, routed inline through this capability's consumes block. tools: - name: mailchimp-get-lists-info description: Mailchimp Get Lists Info hints: readOnly: true destructive: false idempotent: true call: marketing-lists.getlists with: fields: tools.fields exclude_fields: tools.exclude_fields count: tools.count offset: tools.offset before_date_created: tools.before_date_created since_date_created: tools.since_date_created before_campaign_last_sent: tools.before_campaign_last_sent since_campaign_last_sent: tools.since_campaign_last_sent email: tools.email sort_field: tools.sort_field sort_dir: tools.sort_dir has_ecommerce_store: tools.has_ecommerce_store include_total_contacts: tools.include_total_contacts outputParameters: - type: object mapping: $. - name: mailchimp-add-list description: Mailchimp Add List hints: readOnly: false destructive: false idempotent: false call: marketing-lists.postlists with: body: tools.body outputParameters: - type: object mapping: $. - name: mailchimp-get-abuse-report description: Mailchimp Get Abuse Report hints: readOnly: true destructive: false idempotent: true call: marketing-lists.getlistsidabusereportsid with: fields: tools.fields exclude_fields: tools.exclude_fields count: tools.count offset: tools.offset list_id: tools.list_id report_id: tools.report_id outputParameters: - type: object mapping: $. - name: mailchimp-get-interest-category-info description: Mailchimp Get Interest Category Info hints: readOnly: true destructive: false idempotent: true call: marketing-lists.getlistsidinterestcategoriesid with: list_id: tools.list_id interest_category_id: tools.interest_category_id fields: tools.fields exclude_fields: tools.exclude_fields outputParameters: - type: object mapping: $. - name: mailchimp-update-interest-category description: Mailchimp Update Interest Category hints: readOnly: false destructive: false idempotent: true call: marketing-lists.patchlistsidinterestcategoriesid with: list_id: tools.list_id interest_category_id: tools.interest_category_id body: tools.body outputParameters: - type: object mapping: $. - name: mailchimp-delete-interest-category description: Mailchimp Delete Interest Category hints: readOnly: false destructive: true idempotent: true call: marketing-lists.deletelistsidinterestcategoriesid with: list_id: tools.list_id interest_category_id: tools.interest_category_id outputParameters: - type: object mapping: $. - name: mailchimp-get-interest-category description: Mailchimp Get Interest in Category hints: readOnly: true destructive: false idempotent: true call: marketing-lists.getlistsidinterestcategoriesidinterestsid with: list_id: tools.list_id interest_category_id: tools.interest_category_id interest_id: tools.interest_id fields: tools.fields exclude_fields: tools.exclude_fields outputParameters: - type: object mapping: $. - name: mailchimp-update-interest-category-2 description: Mailchimp Update Interest in Category hints: readOnly: false destructive: false idempotent: true call: marketing-lists.patchlistsidinterestcategoriesidinterestsid with: list_id: tools.list_id interest_category_id: tools.interest_category_id interest_id: tools.interest_id body: tools.body outputParameters: - type: object mapping: $. - name: mailchimp-delete-interest-category-2 description: Mailchimp Delete Interest in Category hints: readOnly: false destructive: true idempotent: true call: marketing-lists.deletelistsidinterestcategoriesidinterestsid with: list_id: tools.list_id interest_category_id: tools.interest_category_id interest_id: tools.interest_id outputParameters: - type: object mapping: $. - name: mailchimp-get-member-info description: Mailchimp Get Member Info hints: readOnly: true destructive: false idempotent: true call: marketing-lists.getlistsidmembersid with: fields: tools.fields exclude_fields: tools.exclude_fields list_id: tools.list_id subscriber_hash: tools.subscriber_hash outputParameters: - type: object mapping: $. - name: mailchimp-add-update-list-member description: Mailchimp Add or Update List Member hints: readOnly: false destructive: false idempotent: true call: marketing-lists.putlistsidmembersid with: list_id: tools.list_id subscriber_hash: tools.subscriber_hash skip_merge_validation: tools.skip_merge_validation body: tools.body outputParameters: - type: object mapping: $. - name: mailchimp-update-list-member description: Mailchimp Update List Member hints: readOnly: false destructive: false idempotent: true call: marketing-lists.patchlistsidmembersid with: list_id: tools.list_id subscriber_hash: tools.subscriber_hash skip_merge_validation: tools.skip_merge_validation body: tools.body outputParameters: - type: object mapping: $. - name: mailchimp-archive-list-member description: Mailchimp Archive List Member hints: readOnly: false destructive: true idempotent: true call: marketing-lists.deletelistsidmembersid with: list_id: tools.list_id subscriber_hash: tools.subscriber_hash outputParameters: - type: object mapping: $. - name: mailchimp-delete-list-member description: Mailchimp Delete List Member hints: readOnly: true destructive: false idempotent: false call: marketing-lists.postlistsidmembershashactionsdeletepermanent with: list_id: tools.list_id subscriber_hash: tools.subscriber_hash outputParameters: - type: object mapping: $. - name: mailchimp-get-member-note description: Mailchimp Get Member Note hints: readOnly: true destructive: false idempotent: true call: marketing-lists.getlistsidmembersidnotesid with: list_id: tools.list_id subscriber_hash: tools.subscriber_hash note_id: tools.note_id fields: tools.fields exclude_fields: tools.exclude_fields outputParameters: - type: object mapping: $. - name: mailchimp-update-note description: Mailchimp Update Note hints: readOnly: false destructive: false idempotent: true call: marketing-lists.patchlistsidmembersidnotesid with: list_id: tools.list_id subscriber_hash: tools.subscriber_hash note_id: tools.note_id body: tools.body outputParameters: - type: object mapping: $. - name: mailchimp-delete-note description: Mailchimp Delete Note hints: readOnly: false destructive: true idempotent: true call: marketing-lists.deletelistsidmembersidnotesid with: list_id: tools.list_id subscriber_hash: tools.subscriber_hash note_id: tools.note_id outputParameters: - type: object mapping: $. - name: mailchimp-get-merge-field description: Mailchimp Get Merge Field hints: readOnly: true destructive: false idempotent: true call: marketing-lists.getlistsidmergefieldsid with: list_id: tools.list_id merge_id: tools.merge_id exclude_fields: tools.exclude_fields fields: tools.fields outputParameters: - type: object mapping: $. - name: mailchimp-update-merge-field description: Mailchimp Update Merge Field hints: readOnly: false destructive: false idempotent: true call: marketing-lists.patchlistsidmergefieldsid with: list_id: tools.list_id merge_id: tools.merge_id body: tools.body outputParameters: - type: object mapping: $. - name: mailchimp-delete-merge-field description: Mailchimp Delete Merge Field hints: readOnly: false destructive: true idempotent: true call: marketing-lists.deletelistsidmergefieldsid with: list_id: tools.list_id merge_id: tools.merge_id outputParameters: - type: object mapping: $. - name: mailchimp-get-segment-info description: Mailchimp Get Segment Info hints: readOnly: true destructive: false idempotent: true call: marketing-lists.getlistsidsegmentsid with: fields: tools.fields exclude_fields: tools.exclude_fields list_id: tools.list_id segment_id: tools.segment_id include_cleaned: tools.include_cleaned include_transactional: tools.include_transactional include_unsubscribed: tools.include_unsubscribed outputParameters: - type: object mapping: $. - name: mailchimp-delete-segment description: Mailchimp Delete Segment hints: readOnly: false destructive: true idempotent: true call: marketing-lists.deletelistsidsegmentsid with: list_id: tools.list_id segment_id: tools.segment_id outputParameters: - type: object mapping: $. - name: mailchimp-update-segment description: Mailchimp Update Segment hints: readOnly: false destructive: false idempotent: true call: marketing-lists.patchlistsidsegmentsid with: list_id: tools.list_id segment_id: tools.segment_id body: tools.body outputParameters: - type: object mapping: $. - name: mailchimp-batch-add-remove-members description: Mailchimp Batch Add or Remove Members hints: readOnly: false destructive: false idempotent: false call: marketing-lists.postlistsidsegmentsid with: body: tools.body list_id: tools.list_id segment_id: tools.segment_id outputParameters: - type: object mapping: $. - name: mailchimp-remove-list-member-segment description: Mailchimp Remove List Member From Segment hints: readOnly: false destructive: true idempotent: true call: marketing-lists.deletelistsidsegmentsidmembersid with: list_id: tools.list_id segment_id: tools.segment_id subscriber_hash: tools.subscriber_hash outputParameters: - type: object mapping: $. - name: mailchimp-get-survey description: Mailchimp Get Survey hints: readOnly: true destructive: false idempotent: true call: marketing-lists.getlistsidsurveysid with: list_id: tools.list_id survey_id: tools.survey_id outputParameters: - type: object mapping: $.