> ## Documentation Index
> Fetch the complete documentation index at: https://docs.brew.new/llms.txt
> Use this file to discover all available pages before exploring further.

# MCP tools

> The full Brew MCP tool catalog by domain — emails, sending, audiences, contacts, domains, automations, analytics, brand, and media.

The Brew MCP exposes every Public API v1 operation as a tool. Each is strictly typed (Zod input schema) with `readOnly` / `destructive` annotations, and write tools accept an optional `idempotency_key` for safe retries. Call `get_brew_capabilities` for the live, machine-readable catalog including per-tool credit costs.

## Discovery

| Tool                    | What it does                                                   |
| ----------------------- | -------------------------------------------------------------- |
| `get_brew_capabilities` | The capability catalog + lifecycle workflows. Call this first. |

## Email

| Tool                             | What it does                                                                                                        |
| -------------------------------- | ------------------------------------------------------------------------------------------------------------------- |
| `list_email_designs`             | List designs, or fetch one (`include: ["html"]` / `["versions"]`).                                                  |
| `create_email_design`\*          | Generate a new on-brand design from a prompt.                                                                       |
| `import_email_design`\*          | Import HTML / MJML / React-Email JSX.                                                                               |
| `edit_email_with_ai`\*           | Apply a natural-language edit, producing a new version.                                                             |
| `restore_email_version`          | Restore a previous version.                                                                                         |
| `delete_email_design`            | Delete a design (idempotent).                                                                                       |
| `audit_email_accessibility`      | Accessibility audit of a design.                                                                                    |
| `preview_email_across_clients`\* | Render a design in real inboxes/devices — Gmail, Outlook, Apple Mail, iOS (light & dark) — a screenshot per client. |

## Sending

| Tool          | What it does                                                                    |
| ------------- | ------------------------------------------------------------------------------- |
| `send_email`  | Campaign or test send; pass `scheduledAt` to schedule. Fail-closed idempotency. |
| `cancel_send` | Cancel a scheduled / in-flight send.                                            |

## Audiences & contacts

| Tool                                                                                                 | What it does                                               |
| ---------------------------------------------------------------------------------------------------- | ---------------------------------------------------------- |
| `list_audiences` / `create_audience` / `update_audience` / `delete_audience`                         | Saved segments built from contact filters.                 |
| `search_contacts` / `create_contact` / `update_contact` / `delete_contact` / `batch_delete_contacts` | Manage contacts.                                           |
| `validate_contacts`                                                                                  | Validate email addresses before import / send.             |
| `import_contacts_csv`                                                                                | Bulk import contacts.                                      |
| `list_custom_fields` / `create_custom_field` / `delete_custom_field`                                 | Custom contact fields (great for CRM-enriched attributes). |

## Domains

| Tool                                                                                   | What it does                       |
| -------------------------------------------------------------------------------------- | ---------------------------------- |
| `list_domains` / `create_domain` / `verify_domain` / `update_domain` / `delete_domain` | Manage and verify sending domains. |

## Automations & triggers

| Tool                                                                                 | What it does                                                                 |
| ------------------------------------------------------------------------------------ | ---------------------------------------------------------------------------- |
| `list_automations` / `create_automation` / `update_automation` / `delete_automation` | Build and publish automated flows (`update_automation { published: true }`). |
| `test_automation`                                                                    | Dry-run a flow.                                                              |
| `run_automation`                                                                     | Run a manual-audience automation against its cohort.                         |
| `list_automation_runs`                                                               | Inspect runs.                                                                |
| `list_audience_runs`                                                                 | Inspect manual-audience runs.                                                |
| `list_triggers` / `create_trigger` / `update_trigger` / `delete_trigger`             | The named events automations listen for.                                     |
| `fire_trigger_event`                                                                 | Fire a trigger with a payload to start its automations.                      |

## Analytics

| Tool                                                                                                 | What it does               |
| ---------------------------------------------------------------------------------------------------- | -------------------------- |
| `get_send_analytics` / `get_campaign_analytics` / `get_automation_analytics` / `get_event_analytics` | Delivery + engagement.     |
| `list_trigger_instances`                                                                             | Inbound trigger audit log. |

## Brand, media & account

| Tool                                                                                        | What it does                              |
| ------------------------------------------------------------------------------------------- | ----------------------------------------- |
| `get_brand` / `update_brand` / `search_brand_images`                                        | The connected brand.                      |
| `generate_image`\* / `create_gif`\* / `transform_image`\* / `html_to_png`\* / `add_image`\* | On-brand media.                           |
| `get_usage` / `list_templates`                                                              | Plan, credits, send quota, and templates. |

`*` = credit-metered. Out of credits → an `INSUFFICIENT_CREDITS` error.

## Need Help?

Our team is ready to support you at every step of your journey with Brew. Choose the option that works best for you:

<Tabs>
  <Tab title="Self-Service Tools">
    <CardGroup cols="2">
      <Card title="Search Documentation" icon="magnifying-glass" color="#c44925">
        Type in the "Ask any question" search bar at the top left to instantly find relevant documentation pages.
      </Card>

      <Card title="ChatGPT/Claude Integration" icon="robot" color="#c44925">
        Click "Open in ChatGPT" at the top right of any page to analyze documentation with ChatGPT or Claude for deeper insights.
      </Card>
    </CardGroup>
  </Tab>

  <Tab title="Talk to Our Team">
    <CardGroup cols="2">
      <Card title="Schedule a Call" icon="calendar" color="#c44925" href="https://calendar.google.com/calendar/u/0/appointments/schedules/AcZssZ1iYoRUG1J792XQpbuQLjSRRDupr7MwraFK-HQRCtTYdBmrQi8nZu2qXfzKQigb8gbKJK3KN3-R">
        Book time with our founders for personalized guidance on strategy, best practices, or complex implementation questions.
      </Card>

      <Card title="Call Us Directly" icon="phone" color="#c44925">
        Need immediate assistance? Reach us at **+1-(332)-203-2145** for urgent issues or time-sensitive questions.
      </Card>

      <Card title="Slack Channel" icon="slack" color="#c44925">
        Our preferred support channel. You'll receive an invite after signup for direct founder support and fast responses.
      </Card>

      <Card title="Email Support" icon="envelope" color="#c44925" href="mailto:support@brew.new">
        Contact us at **[support@brew.new](mailto:support@brew.new)** for detailed inquiries or if you prefer not to use Slack.
      </Card>
    </CardGroup>
  </Tab>
</Tabs>
