[{"name":"get_automation_messages_general_performance","description":"Returns automation messages statistics summary for specifed conditions","input":{"type":"object","properties":{"dateFrom":{"description":"Statistics starting date in YYYY-MM-DD format","type":"string","format":"date"},"dateTo":{"description":"Statistics ending date in YYYY-MM-DD format","type":"string","format":"date"}},"required":["dateFrom","dateTo"]}},{"name":"get_automation_messages_sent_between_dates","description":"Returns automation messages sent between specified dates","input":{"type":"object","properties":{"dateFrom":{"description":"Optional starting date in YYYY-MM-DD format","type":"string","default":"","format":"date"},"dateTo":{"description":"Optional ending date in YYYY-MM-DD format","type":"string","default":"","format":"date"},"name":{"description":"Filter automation messages by name (optional)","type":"string","default":""}}}},{"name":"get_single_automation_message_performance_summary","description":"Returns single automation message performance summary","input":{"type":"object","properties":{"automationMessageId":{"description":"ID of the automation message","type":"string"}},"required":["automationMessageId"]}},{"name":"get_autoresponders_general_performance","description":"Returns autoresponders statistics summary for specifed conditions","input":{"type":"object","properties":{"dateFrom":{"description":"Statistics starting date in YYYY-MM-DD format","type":"string","format":"date"},"dateTo":{"description":"Statistics ending date in YYYY-MM-DD format","type":"string","format":"date"}},"required":["dateFrom","dateTo"]}},{"name":"get_autoresponders_sent_between_dates","description":"Returns autoresponders sent between specified dates","input":{"type":"object","properties":{"dateFrom":{"description":"Optional starting date in YYYY-MM-DD format","type":"string","default":"","format":"date"},"dateTo":{"description":"Optional ending date in YYYY-MM-DD format","type":"string","default":"","format":"date"},"name":{"description":"Filter autoresponders by name (optional)","type":"string","default":""}}}},{"name":"get_single_autoresponder_performance_summary","description":"Returns single autoresponder performance summary","input":{"type":"object","properties":{"autoresponderId":{"description":"ID of the autoresponder","type":"string"}},"required":["autoresponderId"]}},{"name":"get_general_performance","description":"Returns newsletters statistics summary for specifed conditions","input":{"type":"object","properties":{"dateFrom":{"description":"Statistics starting date in YYYY-MM-DD format","type":"string","format":"date"},"dateTo":{"description":"Statistics ending date in YYYY-MM-DD format","type":"string","format":"date"}},"required":["dateFrom","dateTo"]}},{"name":"get_broadcasts_sent_between_dates","description":"Returns newsletters sent between specified dates","input":{"type":"object","properties":{"dateFrom":{"description":"Optional starting date in YYYY-MM-DD format","type":["string","null"],"default":null,"format":"date"},"dateTo":{"description":"Optional ending date in YYYY-MM-DD format","type":["string","null"],"default":null,"format":"date"}}}},{"name":"get_single_newsletter_performance_summary","description":"Returns single newsletter performance summary","input":{"type":"object","properties":{"newsletterId":{"description":"ID of the newsletter","type":"string"}},"required":["newsletterId"]}},{"name":"get_recommendation_docs","description":"Docs (markdown) of <gr-recommendations> web component. Without `page` lists pages.","input":{"type":"object","properties":{"page":{"description":"index (get started), api (attributes, events), template (layout), page-context, examples, troubleshooting","type":["string","null"],"default":null}}}},{"name":"list_recommendations","description":"Lists recommendations (one per shop) with their boxes. Read `guide` from the result before using other recommendation tools. Many recommendations: ask user which one, show `shopName`. Empty: user must create one in GetResponse panel first.","input":{"type":"object","properties":{}}},{"name":"create_recommendation_box","description":"Creates new manual box, active at once. Each call adds another box: reuse `manualBoxes` when possible. Returned `boxId` goes to `box-id` attribute of <gr-recommendations>. Then call get_recommendation_docs with `page` api for other attributes.","input":{"type":"object","properties":{"recommendationId":{"description":"Recommendation `id` from list_recommendations","type":"string"}},"required":["recommendationId"]}},{"name":"update_recommendation_box","description":"Sets or clears name of manual box. Name is only a label in GetResponse panel.","input":{"type":"object","properties":{"recommendationId":{"description":"Recommendation `id` from list_recommendations","type":"string"},"boxId":{"description":"`manualBoxes[].id` from list_recommendations or `boxId` from create_recommendation_box","type":"string"},"name":{"description":"1-64 characters, null clears name","type":["string","null"]}},"required":["recommendationId","boxId","name"]}},{"name":"get_my_templates_list","description":"Returns the user's saved email templates list","input":{"type":"object","properties":{"page":{"description":"Page of the results","type":"integer","default":1},"name":{"description":"Filter templates by name (optional)","type":"string","default":""}}}},{"name":"get_my_template","description":"Returns specified email template details including its content","input":{"type":"object","properties":{"templateId":{"description":"ID of the template to fetch","type":"string"}},"required":["templateId"]}},{"name":"create_my_template","description":"Creates a new email template in My templates","input":{"type":"object","properties":{"name":{"description":"Template name","type":"string"},"htmlContent":{"description":"Template HTML content","type":"string"},"plainTextContent":{"description":"Template plain text content (optional)","type":"string","default":""}},"required":["name","htmlContent"]}},{"name":"update_my_template","description":"Updates an existing email template. Only templates created in the HTML editor can be updated. Only provided fields are changed","input":{"type":"object","properties":{"templateId":{"description":"Existing template ID","type":"string"},"name":{"description":"Template name. Empty keeps the current value","type":"string","default":""},"htmlContent":{"description":"Template HTML content. Empty keeps the current value","type":"string","default":""},"plainTextContent":{"description":"Template plain text content. Empty keeps the current value","type":"string","default":""}},"required":["templateId"]}},{"name":"duplicate_my_template","description":"Duplicates an existing email template in My templates","input":{"type":"object","properties":{"templateId":{"description":"ID of the template to duplicate","type":"string"},"name":{"description":"Name of the copy. Empty uses \"Copy of <original name>\"","type":"string","default":""}},"required":["templateId"]}},{"name":"get_my_template_custom_texts","description":"Extracts translatable texts from a JSON (drag & drop editor) template. Returns a map: { elementId: { path: text } }. Translate the values and pass the map to replace_my_template_custom_texts","input":{"type":"object","properties":{"templateId":{"description":"ID of the template","type":"string"}},"required":["templateId"]}},{"name":"replace_my_template_custom_texts","description":"Replaces texts in a JSON (drag & drop editor) template and saves the template. Use get_my_template_custom_texts first to get the texts map","input":{"type":"object","properties":{"templateId":{"description":"ID of the template to update","type":"string"},"texts":{"description":"Texts map in the format returned by get_my_template_custom_texts: { elementId: { path: text } }","type":"object","additionalProperties":{"type":"object","additionalProperties":{"type":"string"}}}},"required":["templateId","texts"]}},{"name":"get_email_addresses_list","description":"Returns a list of current user's email addresses","input":{"type":"object","properties":{}}},{"name":"get_newsletter_content","description":"Returns specified newsletter content","input":{"type":"object","properties":{"newsletterId":{"description":"ID of the newsletter to fetch","type":"string"}},"required":["newsletterId"]}},{"name":"get_drafts_list","description":"Returns newsletters drafts list","input":{"type":"object","properties":{"page":{"description":"Page of the results","type":"integer","default":1}}}},{"name":"copy_draft","description":"Creates a copy of an existing newsletter draft","input":{"type":"object","properties":{"draftId":{"description":"ID of the draft to copy","type":"string"}},"required":["draftId"]}},{"name":"get_draft_custom_texts","description":"Extracts translatable texts from a JSON (drag & drop editor) draft. Returns a map: { elementId: { path: text } }. Translate the values and pass the map to replace_draft_custom_texts","input":{"type":"object","properties":{"draftId":{"description":"ID of the draft","type":"string"}},"required":["draftId"]}},{"name":"replace_draft_custom_texts","description":"Replaces texts in a JSON draft content and saves the draft. Use get_draft_custom_texts first to get the texts map","input":{"type":"object","properties":{"draftId":{"description":"ID of the draft to update","type":"string"},"texts":{"description":"Texts map in the format returned by get_draft_custom_texts: { elementId: { path: text } }","type":"object","additionalProperties":{"type":"object","additionalProperties":{"type":"string"}}}},"required":["draftId","texts"]}},{"name":"create_newsletter","description":"Creates a new newsletter","input":{"type":"object","properties":{"name":{"description":"Newsletter internal name","type":"string"},"subject":{"description":"Newsletter subject","type":"string"},"fromFieldId":{"description":"ID of the from field","type":"string"},"replyToFieldId":{"description":"ID of the reply-to field","type":"string"},"campaignId":{"description":"Campaign ID","type":"string"},"isClickTracking":{"description":"Is clicktracking enabled?","type":"boolean"}},"required":["name","subject","fromFieldId","replyToFieldId","campaignId","isClickTracking"]}},{"name":"update_newsletter","description":"Updates an existing newsletter","input":{"type":"object","properties":{"newsletterId":{"description":"Existing newsletter or draft's ID","type":"string"},"name":{"description":"Newsletter internal name","type":"string"},"subject":{"description":"Newsletter subject","type":"string"},"fromFieldId":{"description":"ID of the from field","type":"string"},"replyToFieldId":{"description":"ID of the reply-to field","type":"string"},"campaignId":{"description":"Campaign ID","type":"string"},"isClickTracking":{"description":"Is clicktracking enabled?","type":"boolean"}},"required":["newsletterId","name","subject","fromFieldId","replyToFieldId","campaignId","isClickTracking"]}},{"name":"create_newsletter_with_content","description":"Creates a newsletter with content","input":{"type":"object","properties":{"emailCustomType":{"description":"What type is your email? e.g., welcome email, folow email, anonucenemt, invitation","type":"string"},"emailTargetType":{"description":"Who is this email for?","type":"string"},"industryName":{"description":"What kind of business do you have?","type":"string"},"tone":{"description":"Tone of the email. MUST BE ONE OF: convincing, informative, formal, friendly, inspirational, neutral","type":"string"},"topic":{"description":"What is your email about?","type":"string"},"colorPalette":{"description":"Color palette to use","type":"object","properties":{"backgroundColor":{"description":"Background color in hex format with the leading # used in marketing materials","type":"string"},"linksColor":{"description":"Color of buttons and links in hex format with the leading # used in marketing materials","type":"string"},"primaryColor":{"description":"Primary color of the brand in hex format with the leading # used in marketing materials","type":"string"},"accentColorOne":{"description":"First accent color in hex format with the leading # of marketing materials","type":"string"},"accentColorTwo":{"description":"Secondary accent color in hex format with the leading # of marketing materials","type":"string"}},"required":["backgroundColor","linksColor","primaryColor","accentColorOne","accentColorTwo"]}},"required":["emailCustomType","emailTargetType","industryName","tone","topic","colorPalette"]}},{"name":"get_custom_fields_list","description":"Returns paginated list of custom fields","input":{"type":"object","properties":{"page":{"description":"Page of the results","type":"integer","default":1}}}},{"name":"get_campaigns","description":"Returns contacts lists defined on the account","input":{"type":"object","properties":{}}},{"name":"get_recently_added_contacts","description":"Returns details about recently added contacts","input":{"type":"object","properties":{"page":{"description":"Page of the contacts list","type":"integer","default":1}}}},{"name":"get_contacts_by_name","description":"Searches contacts by provided name","input":{"type":"object","properties":{"name":{"description":"Name of the contacts","type":"string"},"page":{"description":"Results page number","type":"integer","default":1}},"required":["name"]}},{"name":"get_contacts_by_campaign","description":"Searches contacts by provided campaign","input":{"type":"object","properties":{"campaignId":{"description":"ID of the campaign to lookup","type":"string"},"page":{"description":"Results page number","type":"integer","default":1}},"required":["campaignId"]}},{"name":"get_contacts_who_received_any_message_in_last_days","description":"Lists contacts who received any message (newsletter, broadcast, etc.) in specified last days","input":{"type":"object","properties":{"lastDays":{"description":"Number of days since today","type":"integer"},"includeToday":{"description":"Whether the result should include today","type":"boolean","default":true},"page":{"description":"Results page number","type":"integer","default":1}},"required":["lastDays"]}},{"name":"get_contacts_who_did_not_open_any_message_in_last_days","description":"Lists contacts who did not open any message (newsletter, broadcast, etc.) in specified last days","input":{"type":"object","properties":{"lastDays":{"description":"Number of days since today","type":"integer"},"includeToday":{"description":"Whether the result should include today","type":"boolean","default":true},"page":{"description":"Results page number","type":"integer","default":1}},"required":["lastDays"]}},{"name":"get_contacts_who_clicked_any_link_in_any_message_in_last_days","description":"Lists contacts who clicked any link in any message (newsletter, broadcast, etc.) in specified last days","input":{"type":"object","properties":{"lastDays":{"description":"Number of days since today","type":"integer"},"includeToday":{"description":"Whether the result should include today","type":"boolean","default":true},"page":{"description":"Results page number","type":"integer","default":1}},"required":["lastDays"]}},{"name":"get_contacts_who_opened_any_message_in_last_days","description":"Lists contacts who opened any message (newsletter, broadcast, etc.) in specified last days","input":{"type":"object","properties":{"lastDays":{"description":"Number of days since today","type":"integer"},"includeToday":{"description":"Whether the result should include today","type":"boolean","default":true},"page":{"description":"Results page number","type":"integer","default":1}},"required":["lastDays"]}},{"name":"get_contacts_who_have_custom_field_assigned","description":"Lists contacts who have the specified custom field assigned","input":{"type":"object","properties":{"customFieldId":{"description":"ID of the custom field to check","type":"string"},"page":{"description":"Results page number","type":"integer","default":1}},"required":["customFieldId"]}},{"name":"get_autoresponder_content","description":"Returns specified autoresponder content","input":{"type":"object","properties":{"autoresponderId":{"description":"ID of the autoresponder to fetch","type":"string"}},"required":["autoresponderId"]}},{"name":"get_autoresponders_list","description":"Returns autoresponders list","input":{"type":"object","properties":{"page":{"description":"Page of the results","type":"integer","default":1},"name":{"description":"Filter autoresponders by name (optional)","type":"string","default":""}}}},{"name":"create_autoresponder","description":"Creates a new autoresponder","input":{"type":"object","properties":{"name":{"description":"Autoresponder internal name","type":"string"},"subject":{"description":"Autoresponder subject","type":"string"},"fromFieldId":{"description":"ID of the from field","type":"string"},"replyToFieldId":{"description":"ID of the reply-to field","type":"string"},"campaignId":{"description":"Campaign ID","type":"string"},"isClickTracking":{"description":"Is clicktracking enabled?","type":"boolean"},"dayOfCycle":{"description":"Day of the cycle on which the autoresponder is sent (0 = the day of signing up)","type":"integer","default":0},"deliveryDays":{"description":"Optional days of the week on which the autoresponder can be sent. Allowed values: monday, tuesday, wednesday, thursday, friday, saturday, sunday. Defaults to all days","type":"array","items":{"type":"string"},"default":null}},"required":["name","subject","fromFieldId","replyToFieldId","campaignId","isClickTracking"]}},{"name":"update_autoresponder","description":"Updates an existing autoresponder. Only provided fields are changed","input":{"type":"object","properties":{"autoresponderId":{"description":"Existing autoresponder ID","type":"string"},"name":{"description":"Autoresponder internal name. Empty keeps the current value","type":"string","default":""},"subject":{"description":"Autoresponder subject. Empty keeps the current value","type":"string","default":""},"fromFieldId":{"description":"ID of the from field. Empty keeps the current value","type":"string","default":""},"replyToFieldId":{"description":"ID of the reply-to field. Empty keeps the current value","type":"string","default":""},"campaignId":{"description":"Campaign ID. Empty keeps the current value","type":"string","default":""},"clickTracking":{"description":"Enables or disables clicktracking","type":"string","enum":["unchanged","enabled","disabled"],"default":"unchanged"},"dayOfCycle":{"description":"Day of the cycle on which the autoresponder is sent (0 = the day of signing up). -1 keeps the current value","type":"integer","default":-1},"deliveryDays":{"description":"Days of the week on which the autoresponder can be sent. Allowed values: monday, tuesday, wednesday, thursday, friday, saturday, sunday. Empty keeps the current value","type":"array","items":{"type":"string"},"default":null}},"required":["autoresponderId"]}},{"name":"create_autoresponder_with_content","description":"Creates an autoresponder with content","input":{"type":"object","properties":{"emailCustomType":{"description":"What type is your email? e.g., welcome email, folow email, anonucenemt, invitation","type":"string"},"emailTargetType":{"description":"Who is this email for?","type":"string"},"industryName":{"description":"What kind of business do you have?","type":"string"},"tone":{"description":"Tone of the email. MUST BE ONE OF: convincing, informative, formal, friendly, inspirational, neutral","type":"string"},"topic":{"description":"What is your email about?","type":"string"},"colorPalette":{"description":"Color palette to use","type":"object","properties":{"backgroundColor":{"description":"Background color in hex format with the leading # used in marketing materials","type":"string"},"linksColor":{"description":"Color of buttons and links in hex format with the leading # used in marketing materials","type":"string"},"primaryColor":{"description":"Primary color of the brand in hex format with the leading # used in marketing materials","type":"string"},"accentColorOne":{"description":"First accent color in hex format with the leading # of marketing materials","type":"string"},"accentColorTwo":{"description":"Secondary accent color in hex format with the leading # of marketing materials","type":"string"}},"required":["backgroundColor","linksColor","primaryColor","accentColorOne","accentColorTwo"]}},"required":["emailCustomType","emailTargetType","industryName","tone","topic","colorPalette"]}},{"name":"get_automation_message_content","description":"Returns specified automation message content","input":{"type":"object","properties":{"automationMessageId":{"description":"ID of the automation message to fetch","type":"string"}},"required":["automationMessageId"]}},{"name":"get_automation_messages_list","description":"Returns automation messages list","input":{"type":"object","properties":{"page":{"description":"Page of the results","type":"integer","default":1},"name":{"description":"Filter automation messages by name (optional)","type":"string","default":""}}}},{"name":"create_automation_message","description":"Creates a new automation message","input":{"type":"object","properties":{"name":{"description":"Automation message internal name","type":"string"},"subject":{"description":"Automation message subject","type":"string"},"fromFieldId":{"description":"ID of the from field","type":"string"},"replyToFieldId":{"description":"ID of the reply-to field","type":"string"},"campaignId":{"description":"Campaign ID","type":"string"},"isClickTracking":{"description":"Is clicktracking enabled?","type":"boolean"}},"required":["name","subject","fromFieldId","replyToFieldId","campaignId","isClickTracking"]}},{"name":"update_automation_message","description":"Updates an existing automation message. Only provided fields are changed","input":{"type":"object","properties":{"automationMessageId":{"description":"Existing automation message ID","type":"string"},"name":{"description":"Automation message internal name. Empty keeps the current value","type":"string","default":""},"subject":{"description":"Automation message subject. Empty keeps the current value","type":"string","default":""},"fromFieldId":{"description":"ID of the from field. Empty keeps the current value","type":"string","default":""},"replyToFieldId":{"description":"ID of the reply-to field. Empty keeps the current value","type":"string","default":""},"campaignId":{"description":"Campaign ID. Empty keeps the current value","type":"string","default":""},"clickTracking":{"description":"Enables or disables clicktracking","type":"string","enum":["unchanged","enabled","disabled"],"default":"unchanged"}},"required":["automationMessageId"]}},{"name":"create_marketing_campaign","description":"Creates a marketing campaign combining a landing page, a newsletter and a welcome message","input":{"type":"object","properties":{"internalCampaignName":{"description":"Internal name used to identify the marketing campaign","type":"string"},"companyName":{"description":"Name of the company","type":"string"},"productHighlights":{"description":"What are your product or service highlights? e.g. 1:1 coaching sessions via video conferencing, customized workout plans, nutritional guidance, discounts available for multiple sessions","type":"string"},"audience":{"description":"Who would you like to reach? e.g. everyone from beginners to experienced fitness enthusiasts","type":"string"},"tone":{"description":"How should your communication sound? Must be one of: convincing, informative, formal, friendly, inspirational, neutral","type":"string"},"industry":{"description":"What field do you work in?","type":"string"},"colorPalette":{"description":"Color palette to use","type":"object","properties":{"backgroundColor":{"description":"Background color in hex format with the leading # used in marketing materials","type":"string"},"buttonsColor":{"description":"Color of buttons in hex format with the leading # used in marketing materials","type":"string"},"textsColor":{"description":"Color of texts in hex format with the leading # used in marketing materials","type":"string"},"accentColorOne":{"description":"First accent color in hex format with the leading # of marketing materials","type":"string"},"accentColorTwo":{"description":"Secondary accent color in hex format with the leading # of marketing materials","type":"string"}},"required":["backgroundColor","buttonsColor","textsColor","accentColorOne","accentColorTwo"]}},"required":["internalCampaignName","companyName","productHighlights","audience","tone","industry","colorPalette"]}}]