Tools
This is a reference catalogue. Tools cannot be configured or run from this page.
Edit post content
BEEHIIV_MCP_EDIT_POST_CONTENTEdit an existing post's body incrementally by targeting individual blocks, cheaper and safer than rewriting the whole body. Untouched blocks stay exactly as they are. Read the body once with `get_post_content` (format: `editor_html`), then target a block in `operations`. Top-level blocks carry `data-node-hash="<hash>"`; the response returns `content_updated` and refreshed hashes so you can chain edits. Placed images are omitted by default; pass `include_images: true` to include them. A nested node is a valid target too - to change one paragraph inside a `section`, target that paragraph's `data-id` rather than replacing the whole section and re-sending its siblings. Target the hash by default: it is rejected if someone else changed that block since you read it, which an id is not. Use an id when you mean to write over whatever the block now holds. A `replace` of a `section` must send a `<section>` back with all of its attributes, or the call is rejected because the background, border and padding would be lost. Target a node inside the section to change only its text. Each block takes one operation per call, so a target may appear only once in `operations`. To replace a block and add content around it, put the extra blocks in that replace's `content`; for anything else, make a second call with the refreshed hash. When the body already has structure - a template scaffold, a sign-off/footer, or a placeholder section - place new content with `insertBefore`/`insertAfter` the relevant block, or `replace` the placeholder, rather than `insert position:"end"`, which lands content after the sign-off. `content` is HTML matching the editor's parse rules; call `learn_post_authoring` for the node and mark contract. Ad network opportunities and automated ad placements can be inserted using the contract returned for `advertisementOpportunity` or `automatedAdvertisementPlacement`. Other editor-managed nodes already in the post (polls, sponsorships) round-trip fine, but adding or repointing them needs their contract to say they are authorable. Send only new or changed blocks; a block sent again is duplicated. Atomic: if any target no longer resolves, nothing is applied and you are told to re-read. Edits land in the draft; on a published or archived web post, set `publish: true` to push them live in the same call.
Edit post template
BEEHIIV_MCP_EDIT_POST_TEMPLATEUpdate a post template's metadata. This is a partial patch - only fields you send are changed. To replace the template's body content, use `edit_post_template_content`. To create a new template, use `save_post_template`. Templates migrated from publication settings or created during onboarding are read-only.
Edit post template content
BEEHIIV_MCP_EDIT_POST_TEMPLATE_CONTENTEdit a post template's body incrementally by targeting individual blocks, or replace the entire body with `html_content`. For incremental edits, read the template once with `get_post_template_content` (each top-level block carries a `data-node-hash`), then target blocks in `operations`. Only the blocks you touch are re-parsed; untouched blocks survive byte-identical. Use `insertBefore`/`insertAfter` to place new content: `insertBefore` a block hash finds that block's position and prepends content before it. For full replacement, provide `html_content` - it replaces the entire body. Omit `operations` for full replace. `operations` and `html_content` are mutually exclusive; providing both raises an error. For supported HTML syntax and per-node parseHTML rules, call `learn_post_authoring`. Templates migrated from publication settings or created during onboarding are read-only. To update template metadata (name, subject line, etc.), use `edit_post_template` instead. For theme-level styling, use `save_post_template_theme`.
Generate image
BEEHIIV_MCP_GENERATE_IMAGEGenerate an AI image from a text prompt and save it to a publication's media library. Fire-and-forget: this enqueues a background job and returns immediately with a `generation_id` and status "pending". Kick it off, then continue with other independent work (other pages, content, assets), then call `get_image_generation_status` once you need the result (with `wait: 20` in the in-app agent). The finished asset's `id` serves as a post's `thumbnail_id`, and its `url` embeds in HTML content via `save_post` or `edit_post_content`. Generation counts toward the workspace's AI credit quota, reported in the completed status response's `ai_usage` field.
Get ad report
BEEHIIV_MCP_GET_AD_REPORTThe full performance and payment report for one ad placement: earnings and payout status, payout model and rate, recipients and delivery rate, unique opens and open rate, payable clicks and click-to-open rate, and the send window. Get the report id from list_ad_reports.
Get asset
BEEHIIV_MCP_GET_ASSETGet a single asset from the media library with full details including usage information
Get author
BEEHIIV_MCP_GET_AUTHORGet an author's details by author ID
Get automation
BEEHIIV_MCP_GET_AUTOMATIONGet an automation's full configuration including triggers, step flow, email metadata, and branch paths. Use workspace parameter to inspect live (published) or staging (draft) flow.
Get automation email content
BEEHIIV_MCP_GET_AUTOMATION_EMAIL_CONTENTGet the rendered content of an automation step's email. 'editor_html' returns canonical HTML compatible with save_automation_email and, for small changes, edit_automation_email_content - each top-level block is stamped with data-node-hash for targeted patching. A 'staging' read falls back to 'live' when the step has no unpublished draft yet; the response 'workspace' field reports which was read. Call `get_automation_schema` for the full email workflow.
Get automation journey
BEEHIIV_MCP_GET_AUTOMATION_JOURNEYGet detailed information about a single automation journey, including all journey steps, branch decisions, and per-subscriber email engagement metrics (open rate, click rate).
Get automation schema
BEEHIIV_MCP_GET_AUTOMATION_SCHEMAGet the Automation reference: trigger event main_conditions shapes, step type params, branch paths, resources, and email authoring workflow.
Get automation stats
BEEHIIV_MCP_GET_AUTOMATION_STATSGet performance metrics for an automation. Returns overall stats, per-email breakdown, and optionally per-step subscriber counts with branch decisions. Rates are percentages.
Get automation workspace diff
BEEHIIV_MCP_GET_AUTOMATION_WORKSPACE_DIFFCompare an automation's staging workspace against its live (published) version. Returns a summary of what changed: added, removed, or modified steps and triggers. Use before publishing to review pending changes.
Get community
BEEHIIV_MCP_GET_COMMUNITYGet a publication's community: branding, sync toggles, tier gating, Luma calendar, and PWA. Returns `exists: false` when the publication has not created a community yet.
Get community channel
BEEHIIV_MCP_GET_COMMUNITY_CHANNELGet a community channel with its display position, default flag, and access gating: `gated` is true when members need a premium tier or a matching custom field value, and `tiers` lists the premium tiers required.
Get community member
BEEHIIV_MCP_GET_COMMUNITY_MEMBERGet a community member's profile, roles, and banned/removed status.
Get community metrics
BEEHIIV_MCP_GET_COMMUNITY_METRICSGet a publication's community overview metrics for a period: new members, posts created, comments and replies, and member participation, each with the period total and the previous period's total for comparison. Pass `breakdown` to drill into a ranked list instead of the overview: new_members (recent joiners), popular_channels, popular_members, or top_posts. For popular_channels/popular_members set `by` to rank by "posts" (default) or "comments".
Get community post
BEEHIIV_MCP_GET_COMMUNITY_POSTGet a community post with its threaded comments and a summary of any attached content (embedded Post, Poll, Survey, or Podcast presented as type + id). Comments are paginated.
Get community scheduled post
BEEHIIV_MCP_GET_COMMUNITY_SCHEDULED_POSTGet a scheduled community post with its full body as HTML, in the form schedule_community_post takes. Read a post before cancelling it to schedule it again, so its content carries over. A video in the post does not carry over: a post with a video can only be rescheduled in the beehiiv app. You read as your own community member, the one that joined with your beehiiv account's email, and that member must be a moderator or above. Otherwise the call returns "Access denied": tell the user to join the community with that email or to get a moderator role.
Get condition set
BEEHIIV_MCP_GET_CONDITION_SETRetrieve detailed information about a condition set, including its full definition